[gobject-introspection] docmain: Fix error message



commit aed188ead2921c3259ec5bb368be36fb4a8158ac
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Aug 28 21:41:19 2012 -0300

    docmain: Fix error message

 giscanner/docmain.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/giscanner/docmain.py b/giscanner/docmain.py
index 1ca92a1..0ee85ff 100644
--- a/giscanner/docmain.py
+++ b/giscanner/docmain.py
@@ -39,7 +39,7 @@ def doc_main(args):
     if not options.output:
         raise SystemExit("missing output parameter")
     if not os.path.isdir(options.output):
-        raise SystemExit("wrong output parameter: %s", options.output)
+        raise SystemExit("wrong output parameter: %s" % (options.output,))
 
     if len(args) < 2:
         raise SystemExit("Need an input GIR filename")



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]