[Erp5-report] r23438 - /erp5/trunk/products/ERP5/bin/genbt5list

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Sep 5 07:04:28 CEST 2008


Author: kazuhiko
Date: Fri Sep  5 07:04:28 2008
New Revision: 23438

URL: http://svn.erp5.org?rev=23438&view=rev
Log:
Use python2.5 to avoid python2.4's tarfile.pys bug.
Sort the order of entries.

Modified:
    erp5/trunk/products/ERP5/bin/genbt5list

Modified: erp5/trunk/products/ERP5/bin/genbt5list
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bin/genbt5list?rev=23438&r1=23437&r2=23438&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bin/genbt5list (original)
+++ erp5/trunk/products/ERP5/bin/genbt5list Fri Sep  5 07:04:28 2008
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/python2.5
 ##############################################################################
 #
 # Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
@@ -73,7 +73,7 @@
   os.write(fd, '<?xml version="1.0"?>\n')
   os.write(fd, '<repository>\n')
 
-  for file in os.listdir(os.getcwd()):
+  for file in sorted(os.listdir(os.getcwd())):
     if file.endswith('.bt5'):
       info('Reading %s... ' % (file,))
       try:




More information about the Erp5-report mailing list