diff options
author | Johan Dahlin <johan@gnome.org> | 2008-07-27 10:30:30 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2008-07-27 10:30:30 +0000 |
commit | fca788c706317aa371e81c1c070c888ad245b31f (patch) | |
tree | 399c275f5633d5fdd6168ba6cdc499be4fa15c4b /gobject/propertyhelper.py | |
parent | 99f90ceb215313ca0e34510f7a080339f48e12ce (diff) | |
download | pygobject-fca788c706317aa371e81c1c070c888ad245b31f.tar.gz pygobject-fca788c706317aa371e81c1c070c888ad245b31f.tar.xz pygobject-fca788c706317aa371e81c1c070c888ad245b31f.zip |
Remove tabs. Use sys.exc_info()[1] to fetch the exception value
2008-07-27 Johan Dahlin <johan@gnome.org>
* glib/option.py:
Remove tabs. Use sys.exc_info()[1] to fetch the exception value
* gobject/__init__.py:
* gobject/propertyhelper.py:
Import gobject._gobject instead of just gobject.
* gobject/Makefile.am:
* gobject/constants.py.in:
* gobject/generate-constants.c (main):
Don't add long suffix if python >= 3.0
svn path=/trunk/; revision=887
Diffstat (limited to 'gobject/propertyhelper.py')
-rw-r--r-- | gobject/propertyhelper.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gobject/propertyhelper.py b/gobject/propertyhelper.py index 287516b..faf1562 100644 --- a/gobject/propertyhelper.py +++ b/gobject/propertyhelper.py @@ -19,7 +19,11 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA -import _gobject +import sys + +import gobject._gobject +_gobject = sys.modules['gobject._gobject'] + from gobject.constants import \ TYPE_NONE, TYPE_INTERFACE, TYPE_CHAR, TYPE_UCHAR, \ TYPE_BOOLEAN, TYPE_INT, TYPE_UINT, TYPE_LONG, \ |