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

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


Author: faik
Date: Wed Feb  7 15:29:41 2007
New Revision: 12290

Modified:
   trunk/pisi/pisi/atomicoperations.py
Log:
i hate symlinks.



Modified: trunk/pisi/pisi/atomicoperations.py
=================================================================
--- trunk/pisi/pisi/atomicoperations.py	(original)
+++ trunk/pisi/pisi/atomicoperations.py	Wed Feb  7 15:29:41 2007
@@ -301,7 +301,7 @@
                     os.makedirs(destdir)
 
                 if os.path.islink(old_path): 
-                    if not os.path.exists(new_path):
+                    if not os.path.lexists(new_path):
                         os.symlink(os.readlink(old_path), new_path)
                 else:
                     shutil.copy(old_path, new_path)


Uludag-commits mesaj listesiyle ilgili daha fazla bilgi