jdahlin - flumotion/trunk/flumotion/ui

flumotion-commit at lists.fluendo.com flumotion-commit at lists.fluendo.com
Tue Jan 8 20:04:41 CET 2008


Author: jdahlin
Date: Tue Jan  8 20:04:27 2008
New Revision: 6076

Modified:
   flumotion/trunk/flumotion/ui/kiwipatches.py
Log:
another attempt at fixing pychecker

Modified: flumotion/trunk/flumotion/ui/kiwipatches.py
==============================================================================
--- flumotion/trunk/flumotion/ui/kiwipatches.py	(original)
+++ flumotion/trunk/flumotion/ui/kiwipatches.py	Tue Jan  8 20:04:27 2008
@@ -24,7 +24,6 @@
 from gtk import glade
 from kiwi.environ import environ
 from kiwi.__version__ import version as kiwi_version
-from kiwi.utils import PropertyMeta, PropertyObject
 from kiwi.ui import views
 from kiwi.ui.widgets.entry import ProxyEntry
 
@@ -70,7 +69,7 @@
 
 # Fixing bug #3259, fixed in kiwi 1.99.15
 # Yes I ******HATE***** pychecker
-old_proxy_entry_init = getattr(ProxyEntry, ProxyEntry.__init__.__name__)
+old_proxy_entry_init = ProxyEntry.__dict__['__init__']
 def proxy_entry_init(*args, **kwargs):
     try:
         old_proxy_entry_init(*args, **kwargs)


More information about the flumotion-commit mailing list