[Uludag-commits] r12292 - trunk/pisi/pisi

svn-uludag at uludag.org.tr svn-uludag at uludag.org.tr
7 Şub 2007 Çar 15:40:46 EET


Author: faik
Date: Wed Feb  7 15:40:46 2007
New Revision: 12292

Modified:
   trunk/pisi/pisi/delta.py
Log:
* files.xml has directories



Modified: trunk/pisi/pisi/delta.py
=================================================================
--- trunk/pisi/pisi/delta.py	(original)
+++ trunk/pisi/pisi/delta.py	Wed Feb  7 15:40:46 2007
@@ -117,7 +117,7 @@
 
     relocations = []
     for hash in files_new.keys():
-        if hash in files_old:
+        if hash and hash in files_old:
             for i in range(len(files_new[hash])):
                 if files_old[hash][0].path != files_new[hash][i].path:
                     relocations.append((files_old[hash][0], files_new[hash][i]))


Uludag-commits mesaj listesiyle ilgili daha fazla bilgi