Skip to content

Commit

Permalink
avoid circular import
Browse files Browse the repository at this point in the history
  • Loading branch information
drscannellrh committed Apr 8, 2014
1 parent c2f265e commit fbbbc84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/css_parser/parser.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from token import Token
from tokenizer import Tokenizer
from stylesheet import StyleSheet
import stylesheet as stylesheetmodule
from rule import Rule
from rulefactory import RuleFactory
from declaration import Declaration
Expand All @@ -14,7 +14,7 @@ def parse_string(cls, txt):
"""
tokens = Tokenizer.tokenize_string(txt)
rules, mediaqueries = cls.parse_tokens(tokens)
stylesheet = StyleSheet()
stylesheet = stylesheetmodule.StyleSheet()
stylesheet.set_tokens(tokens)
stylesheet.set_rules(rules)
stylesheet.set_mediaqueries(mediaqueries)
Expand Down

0 comments on commit fbbbc84

Please sign in to comment.