summaryrefslogtreecommitdiffstats
path: root/gobject
diff options
context:
space:
mode:
authorJohan Dahlin <jdahlin@async.com.br>2008-04-08 18:15:55 +0000
committerJohan Dahlin <johan@src.gnome.org>2008-04-08 18:15:55 +0000
commitefa7a0085d93f6ee10bad7981f7e1953243b4479 (patch)
tree7d840961b9f2d89a7b16c533f6565d413c8d556f /gobject
parent09dbce7d1a3a5591d85d061da40c462ee1d2f534 (diff)
downloadpygobject-efa7a0085d93f6ee10bad7981f7e1953243b4479.tar.gz
pygobject-efa7a0085d93f6ee10bad7981f7e1953243b4479.tar.xz
pygobject-efa7a0085d93f6ee10bad7981f7e1953243b4479.zip
Fix a typo Update the tests after the latest "refactoring". The testsuite
2008-04-08 Johan Dahlin <jdahlin@async.com.br> * gobject/option.py: Fix a typo * tests/test_option.py: Update the tests after the latest "refactoring". The testsuite should run fine now again, finally. svn path=/trunk/; revision=770
Diffstat (limited to 'gobject')
-rw-r--r--gobject/option.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gobject/option.py b/gobject/option.py
index 91424c9..f348b99 100644
--- a/gobject/option.py
+++ b/gobject/option.py
@@ -1,4 +1,4 @@
-# -*- Mode: Python; py-indent-offset: 4 -*-
+# -*- Mode: Python -*-
# pygobject - Python bindings for the GObject library
# Copyright (C) 2006 Johannes Hoelzl
#
@@ -316,7 +316,7 @@ class OptionParser(optparse.OptionParser):
largs.extend(context.parse([sys.argv[0]] + rargs))
def parse_args(self, args=None, values=None):
- old_args = args or 0
+ old_args = args or []
try:
options, args = optparse.OptionParser.parse_args(
self, args, values)