[POS-commit] r150 - stoqlib/stoqlib/interface
Henrique Romano
henrique at async.com.br
Fri Mar 18 17:43:57 BRT 2005
Author: henrique
Date: 2005-03-18 17:43:57 -0300 (Fri, 18 Mar 2005)
New Revision: 150
Modified:
stoqlib/stoqlib/interface/dialogs.py
Log:
Updating a code based on Kiwi2 List update.
Modified: stoqlib/stoqlib/interface/dialogs.py
===================================================================
--- stoqlib/stoqlib/interface/dialogs.py 2005-03-18 19:05:38 UTC (rev 149)
+++ stoqlib/stoqlib/interface/dialogs.py 2005-03-18 20:43:57 UTC (rev 150)
@@ -232,12 +232,7 @@
self.clist.add_list(objs)
def clear_clist(self):
- # XXX: waiting a 'clear list' implementation of Kiwi2. The Hack
- # below *always* raise a TypeError exception, then I get it.
- try:
- self.clist.add_list([])
- except TypeError:
- pass
+ self.clist.clear()
#
# Specification of methods that all subclasses *must* to implement
More information about the POS-commit
mailing list