You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2011/08/16 12:59:42 UTC

svn commit: r1158194 - /subversion/trunk/subversion/tests/cmdline/svntest/main.py

Author: danielsh
Date: Tue Aug 16 10:59:42 2011
New Revision: 1158194

URL: http://svn.apache.org/viewvc?rev=1158194&view=rev
Log:
Fix a syntax error.

* subveresion/tests/cmdline/svntest/main.py
  (safe_rmtree): 

Modified:
    subversion/trunk/subversion/tests/cmdline/svntest/main.py

Modified: subversion/trunk/subversion/tests/cmdline/svntest/main.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svntest/main.py?rev=1158194&r1=1158193&r2=1158194&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svntest/main.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svntest/main.py Tue Aug 16 10:59:42 2011
@@ -705,8 +705,8 @@ def chmod_tree(path, mode, mask):
 
 # For clearing away working copies
 def safe_rmtree(dirname, retry=0):
-  "Remove the tree at DIRNAME, making it writable first.
-   If DIRNAME is a symlink, only remove the symlink, not its target."
+  """Remove the tree at DIRNAME, making it writable first.
+     If DIRNAME is a symlink, only remove the symlink, not its target."""
   def rmtree(dirname):
     chmod_tree(dirname, 0666, 0666)
     shutil.rmtree(dirname)