[POS-commit] r3983 - stoqlib/trunk/stoqlib/gui/slaves

Henrique Romano henrique at async.com.br
Tue Jul 25 13:12:37 BRT 2006


Author: henrique
Date: Tue Jul 25 13:12:36 2006
New Revision: 3983

Modified:
   stoqlib/trunk/stoqlib/gui/slaves/payment.py

Log:
Remove unneeded method



Modified: stoqlib/trunk/stoqlib/gui/slaves/payment.py
==============================================================================
--- stoqlib/trunk/stoqlib/gui/slaves/payment.py	(original)
+++ stoqlib/trunk/stoqlib/gui/slaves/payment.py	Tue Jul 25 13:12:36 2006
@@ -721,12 +721,10 @@
         return self.method.get_credit_card_providers()
 
     def _setup_payment_types(self):
-        self.payment_type.clear()
         payment_types = self._get_payment_types(self.providers[0])
         self.ptypes_items = [(p.payment_type_name, p) for p in payment_types]
         self.payment_type.prefill(self.ptypes_items)
 
-
 class FinanceMethodSlave(CreditProviderMethodSlave):
     _payment_types = FinanceDetails,
 


More information about the POS-commit mailing list