gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billbar...@apache.org
Subject svn commit: r1702369 - /gump/live/python/gump/util/sync.py
Date Fri, 11 Sep 2015 03:23:37 GMT
Author: billbarker
Date: Fri Sep 11 03:23:36 2015
New Revision: 1702369

URL: http://svn.apache.org/r1702369
Log:
not supposed to make a difference, but some reports say it does

Modified:
    gump/live/python/gump/util/sync.py

Modified: gump/live/python/gump/util/sync.py
URL: http://svn.apache.org/viewvc/gump/live/python/gump/util/sync.py?rev=1702369&r1=1702368&r2=1702369&view=diff
==============================================================================
--- gump/live/python/gump/util/sync.py (original)
+++ gump/live/python/gump/util/sync.py Fri Sep 11 03:23:36 2015
@@ -207,7 +207,7 @@ class PathWalker(Annotatable):
                 if symlinks and os.path.islink(srcname):
                     if os.path.exists(dstname):
                         if os.path.islink(dstname) or os.path.isfile(dstname):
-                            os.remove(dstname)
+                            os.unlink(dstname)
                         else:
                             shutil.rmtree(dstname, True)
                     linkto = os.readlink(srcname)



Mime
View raw message