From 1bddf0d0f67d4f9eb87afcb64c0ee0b95c903b78 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 23 Oct 2017 09:12:46 +0200 Subject: [PATCH] css: ignore empty lines and comments when compiling. --- css/postprocess.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/css/postprocess.py b/css/postprocess.py index 5d9b5f17..6ab1deb3 100755 --- a/css/postprocess.py +++ b/css/postprocess.py @@ -84,6 +84,10 @@ def postprocess(files): out.write("\n") continue + # Comment or empty line, ignore + if comment_rx.match(line): + continue + # Something else, copy verbatim to the output out.write(line) -- 2.30.2