You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by ve...@apache.org on 2011/04/07 23:04:26 UTC
svn commit: r1090009 -
/webservices/commons/trunk/modules/axiom/etc/syncsite.py
Author: veithen
Date: Thu Apr 7 21:04:26 2011
New Revision: 1090009
URL: http://svn.apache.org/viewvc?rev=1090009&view=rev
Log:
Fixed an issue in the syncsite.py script.
Modified:
webservices/commons/trunk/modules/axiom/etc/syncsite.py
Modified: webservices/commons/trunk/modules/axiom/etc/syncsite.py
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/etc/syncsite.py?rev=1090009&r1=1090008&r2=1090009&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/etc/syncsite.py (original)
+++ webservices/commons/trunk/modules/axiom/etc/syncsite.py Thu Apr 7 21:04:26 2011
@@ -69,7 +69,8 @@ def scan(arg, directory, files):
walk(srcroot, scan, 0)
# Don't touch the .htaccess file at the root
-svnfiles.remove(".htaccess")
+if ".htaccess" in svnfiles:
+ svnfiles.remove(".htaccess")
for file in svnfiles:
call(["svn", "remove", join(dstroot, file)])