Commit 98599360 authored by Marc Betoule's avatar Marc Betoule
Browse files

bug fix in get_directive: reading only comment line

parent 84a0666e
......@@ -67,6 +67,8 @@ class Repository:
c = self.get_code_string(seg)
d = Direct()
for l in c.splitlines():
if c[0] = "#":
continue
try:
d.parse(l)
except StopIteration:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment