Allow comments in supressions file
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 22 Sep 2008 21:48:29 +0000 (17:48 -0400)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 22 Sep 2008 21:48:29 +0000 (17:48 -0400)
compare/compare.py

index cb27659..5e61c03 100644 (file)
@@ -131,6 +131,8 @@ def load_suppressions(file):
             line = s.readline()
             if not line:
                 break;
+            if line[0] == '#':
+                continue
 
             line = line[0:-1]
             supp.append(line)