python-pygtk: unbreak

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4270 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Marcin Juszkiewicz
2008-04-15 09:42:15 +00:00
parent e5e8dd3d9b
commit 6a87048652
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ Index: pygtk-2.10.4/gtk/__init__.py
-_init()
+if not hasattr(sys.modules['__main__'], 'python_launcher_enabled'):
+ init()
+ _init()
# CAPI
_PyGtk_API = _gtk._PyGtk_API