gobject-introspection r186 - trunk/tools



Author: johan
Date: Mon Apr 21 04:40:01 2008
New Revision: 186
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=186&view=rev

Log:
Set default to an empty list

Modified:
   trunk/tools/g-ir-scanner

Modified: trunk/tools/g-ir-scanner
==============================================================================
--- trunk/tools/g-ir-scanner	(original)
+++ trunk/tools/g-ir-scanner	Mon Apr 21 04:40:01 2008
@@ -19,7 +19,7 @@
                       action="store", dest="namespace",
                       help="namespace of this unit")
     parser.add_option("", "--pkg",
-                      action="append", dest="packages",
+                      action="append", dest="packages", default=[],
                       help="pkg-config packages to get cflags from")
     parser.add_option("-v", "--verbose",
                       action="store_true", dest="verbose",



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