[Erp5-report] r31202 aurel - /erp5/trunk/products/ERP5/Document/TradeCondition.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Dec 9 17:33:23 CET 2009


Author: aurel
Date: Wed Dec  9 17:33:20 2009
New Revision: 31202

URL: http://svn.erp5.org?rev=31202&view=rev
Log:
remove unused variables

Modified:
    erp5/trunk/products/ERP5/Document/TradeCondition.py

Modified: erp5/trunk/products/ERP5/Document/TradeCondition.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/TradeCondition.py?rev=31202&r1=31201&r2=31202&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/TradeCondition.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/TradeCondition.py [utf8] Wed Dec  9 17:33:20 2009
@@ -192,7 +192,6 @@
       # build a graph
       father_dict = {}
       child_dict = {}
-      root_line = []
       for line in trade_model_line_composed_list:
         father_dict.setdefault(line, [])
         for other_line in trade_model_line_composed_list:
@@ -214,7 +213,6 @@
         # sort graph according to predecessors
         f = root_line_list[:]
         tmp = None
-        cpt = 0
         final_list = root_line_list[:]
         while len(f):
           tmp = f.pop(0)




More information about the Erp5-report mailing list