diff options
author | Eevee (Lexy Munroe) <eevee.git@veekun.com> | 2016-06-08 17:45:09 -0700 |
---|---|---|
committer | Eevee (Lexy Munroe) <eevee.git@veekun.com> | 2016-06-08 17:45:09 -0700 |
commit | 3f79aafa40c71a8cbcf52f32dc6b7d6c232d0643 (patch) | |
tree | c6916fc33be487e410c9929682e5d1c5f5f24540 | |
parent | 905559d199a3db9ab14cff16e6b1fb652e926c30 (diff) | |
download | pyscss-3f79aafa40c71a8cbcf52f32dc6b7d6c232d0643.tar.gz |
Strip scalar null properties from output. Fixes #337
-rw-r--r-- | scss/compiler.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scss/compiler.py b/scss/compiler.py index 08c5638..7b8dbd1 100644 --- a/scss/compiler.py +++ b/scss/compiler.py @@ -1095,6 +1095,8 @@ class Compilation(object): # TODO kill this branch pass else: + if value.is_null: + return style = rule.legacy_compiler_options.get( 'style', self.compiler.output_style) compress = style == 'compressed' |