From 6a87048652fae220ef8ba50b4cde226aab76e6d4 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Tue, 15 Apr 2008 09:42:15 +0000 Subject: python-pygtk: unbreak git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4270 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- .../python/python-pygtk/prevent_to_get_display_during_import.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-extras/packages/python/python-pygtk') diff --git a/meta-extras/packages/python/python-pygtk/prevent_to_get_display_during_import.patch b/meta-extras/packages/python/python-pygtk/prevent_to_get_display_during_import.patch index db3469ef5..9340f8244 100644 --- a/meta-extras/packages/python/python-pygtk/prevent_to_get_display_during_import.patch +++ b/meta-extras/packages/python/python-pygtk/prevent_to_get_display_during_import.patch @@ -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 -- cgit v1.2.3