[Erp5-report] r25705 - /erp5/trunk/products/TIDStorage/repozo/repozo_tidstorage.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Feb 25 15:25:54 CET 2009


Author: luke
Date: Wed Feb 25 15:25:54 2009
New Revision: 25705

URL: http://svn.erp5.org?rev=25705&view=rev
Log:
 - use paranthesis raise, fix typo

Modified:
    erp5/trunk/products/TIDStorage/repozo/repozo_tidstorage.py

Modified: erp5/trunk/products/TIDStorage/repozo/repozo_tidstorage.py
URL: http://svn.erp5.org/erp5/trunk/products/TIDStorage/repozo/repozo_tidstorage.py?rev=25705&r1=25704&r2=25705&view=diff
==============================================================================
--- erp5/trunk/products/TIDStorage/repozo/repozo_tidstorage.py [utf8] (original)
+++ erp5/trunk/products/TIDStorage/repozo/repozo_tidstorage.py [utf8] Wed Feb 25 15:25:54 2009
@@ -112,7 +112,7 @@
   load_count = 2
   while len(to_load):
     if load_count < 1:
-      raise ValueError, 'It was impossible to retrieve all required TIDs. Missing: %s' (to_load, )
+      raise ValueError('It was impossible to retrieve all required TIDs. Missing: %s' % to_load)
     to_load = []
     load_count -= 1
     stored_tid_dict = connection()




More information about the Erp5-report mailing list