Don't mind empty lines.

This commit is contained in:
Roland Hedberg
2014-06-05 13:59:42 +02:00
parent 647f6c5f49
commit f684c4af2b

View File

@@ -69,7 +69,9 @@ mds = MetadataStore(ONTS.values(), None, None)
for line in open(args.conf).readlines():
line = line.strip()
if line[0] == "#":
if len(line) == 0:
continue
elif line[0] == "#":
continue
spec = line.split(" ")