Revision e04d1761 devflow/versioning.py
b/devflow/versioning.py | ||
---|---|---|
128 | 128 |
l = [l for l in lines if not l.startswith("#")] |
129 | 129 |
if len(l) != 1: |
130 | 130 |
raise ValueError("File '%s' should contain a single non-comment line.") |
131 |
f.close() |
|
131 | 132 |
return l[0] |
132 | 133 |
|
133 | 134 |
|
Also available in: Unified diff