diff options
author | Roland Hedberg <roland.hedberg@adm.umu.se> | 2014-06-05 13:59:42 +0200 |
---|---|---|
committer | Roland Hedberg <roland.hedberg@adm.umu.se> | 2014-06-05 13:59:42 +0200 |
commit | f684c4af2beeceafb642af692a62bf576146b091 (patch) | |
tree | d9384603dc6193ea1e69f62def0806e016975869 /tools | |
parent | 647f6c5f49c911f398f65a26f8233de79fef2aea (diff) | |
download | pysaml2-f684c4af2beeceafb642af692a62bf576146b091.tar.gz |
Don't mind empty lines.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/merge_metadata.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/merge_metadata.py b/tools/merge_metadata.py index a846dca3..c4ad3b33 100755 --- a/tools/merge_metadata.py +++ b/tools/merge_metadata.py @@ -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(" ") |