summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--giscanner/dumper.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/giscanner/dumper.py b/giscanner/dumper.py
index 8b85ae50..e6a81488 100644
--- a/giscanner/dumper.py
+++ b/giscanner/dumper.py
@@ -91,7 +91,8 @@ class DumpCompiler(object):
# Public API
def run(self):
- print ' GEN ' + self._options.output
+ print ' GEN ' + (self._options.output and
+ self._options.output or '<stdout>')
c_path = self._generate_tempfile('.c')
f = open(c_path, 'w')
f.write(_PROGRAM_TEMPLATE)