Provide more sensible serializer options.

This commit is contained in:
Tomaz Muraus 2014-01-04 15:50:40 +01:00
parent e9f6302ec7
commit ff2d7a7501

View File

@ -27,6 +27,11 @@ except ImportError: # pragma nocover
else:
cssutils.log.setLevel(logging.CRITICAL)
cssutils.ser.prefs.keepComments = True
cssutils.ser.prefs.omitLastSemicolon = False
cssutils.ser.prefs.indentClosingBrace = False
cssutils.ser.prefs.validOnly = False
VIEW_CUTOFF = 1024*50