Skip to content
This repository has been archived by the owner on Aug 27, 2019. It is now read-only.

Commit

Permalink
correct error levels for python 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
myfreeweb committed May 11, 2011
1 parent 6c2925a commit dd4559a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cssprefixer/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def magic(ruleset, debug, minify):
return unicode(cssText)+'\n'

def process(string, debug=False, minify=False, **prefs):
loglevel = 'info' if debug else 'error'
loglevel = 'DEBUG' if debug else 'ERROR'
parser = cssutils.CSSParser(loglevel=loglevel)
if minify:
cssutils.ser.prefs.useMinified()
Expand Down

0 comments on commit dd4559a

Please sign in to comment.