[POS-commit] Kiwi/Kiwi Proxies.py,1.74,1.75

Christian Robottom Reis kiko at async.com.br
Sat Oct 25 01:47:45 BRDT 2003


Update of /cvs/Kiwi/Kiwi
In directory anthem:/tmp/cvs-serv25026

Modified Files:
	Proxies.py 
Log Message:
Removing unnecessary imports and mx.


Index: Proxies.py
===================================================================
RCS file: /cvs/Kiwi/Kiwi/Proxies.py,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -d -r1.74 -r1.75
--- Proxies.py	18 Sep 2003 02:47:08 -0000	1.74
+++ Proxies.py	25 Oct 2003 00:47:43 -0000	1.75
@@ -29,14 +29,11 @@
 model.
 """
 
-import string, sys, copy
+import string, sys
 from types import StringType, ListType, TupleType, DictType
 
 from initgtk import gtk, _warn, ktype, TRUE, FALSE, USE_MX
 
-if USE_MX:
-    import mx
-
 import Views
 from WidgetProxies import standard_widgets, RadioGroup, Entry
 from Views import SlaveView, GladeView, GladeSlaveView, BaseView
@@ -521,7 +518,7 @@
         if hasattr(model, "register_proxy_for_attribute"):
             try:
                 model.register_proxy_for_attribute(widget_name, self)
-            except AttributeError, e:
+            except AttributeError:
                 msg = """Failed to run register_proxy() on Model %s
 that was supplied to  %s.
 



More information about the POS-commit mailing list