summaryrefslogtreecommitdiff
path: root/giscanner
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.com>2012-02-19 15:27:54 +0100
committerTomeu Vizoso <tomeu.vizoso@collabora.com>2012-02-19 15:27:54 +0100
commit14a438299675a5df7d931adf87b9d935ea8381bc (patch)
tree640d35df11e4c693b8131aac4cb64698bd3a38f3 /giscanner
parente9ffb2a1ff6538ce22618692cf0f838686846e4e (diff)
downloadgobject-introspection-14a438299675a5df7d931adf87b9d935ea8381bc.tar.gz
g-ir-doc-tool: use True and False instead of %TRUE and %FALSE
Diffstat (limited to 'giscanner')
-rw-r--r--giscanner/mallardwriter.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/giscanner/mallardwriter.py b/giscanner/mallardwriter.py
index b54d587b..dbc94ad8 100644
--- a/giscanner/mallardwriter.py
+++ b/giscanner/mallardwriter.py
@@ -101,6 +101,8 @@ class MallardFormatterPython(MallardFormatter):
def format(cls, doc):
doc = MallardFormatter.format(doc)
doc = doc.replace('%NULL', 'None')
+ doc = doc.replace('%TRUE', 'True')
+ doc = doc.replace('%FALSE', 'False')
return doc
class MallardWriter(object):