summaryrefslogtreecommitdiff
path: root/giscanner
diff options
context:
space:
mode:
Diffstat (limited to 'giscanner')
-rw-r--r--giscanner/message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/message.py b/giscanner/message.py
index b037e54..3db31e3 100644
--- a/giscanner/message.py
+++ b/giscanner/message.py
@@ -118,7 +118,7 @@ context will be used."""
else:
file_positions = node.file_positions
else:
- file_positions = None
+ file_positions = []
if not context:
text = "context=%r %s" % (node, text)