aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/utils/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/__init__.py b/src/utils/__init__.py
index 57980e58..745a8864 100644
--- a/src/utils/__init__.py
+++ b/src/utils/__init__.py
@@ -137,7 +137,7 @@ def get_hashflags(filename):
break
elif line.startswith("#--"):
hashflag, _, value = line.replace("#--", "", 1).partition(" ")
- hashflags[hashflag] = value
+ hashflags[hashflag] = value or None
return hashflags.items()
class Docstring(object):