You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2011/02/22 14:54:45 UTC
svn commit: r1073326 -
/subversion/trunk/contrib/client-side/svn_apply_autoprops.py
Author: stsp
Date: Tue Feb 22 13:54:45 2011
New Revision: 1073326
URL: http://svn.apache.org/viewvc?rev=1073326&view=rev
Log:
* contrib/client-side/svn_apply_autoprops.py: print -> print() for python 3.
Modified:
subversion/trunk/contrib/client-side/svn_apply_autoprops.py
Modified: subversion/trunk/contrib/client-side/svn_apply_autoprops.py
URL: http://svn.apache.org/viewvc/subversion/trunk/contrib/client-side/svn_apply_autoprops.py?rev=1073326&r1=1073325&r2=1073326&view=diff
==============================================================================
--- subversion/trunk/contrib/client-side/svn_apply_autoprops.py (original)
+++ subversion/trunk/contrib/client-side/svn_apply_autoprops.py Tue Feb 22 13:54:45 2011
@@ -125,9 +125,9 @@ def filter_walk(autoprop_lines, dirname,
filenames.remove(SVN_WC_ADM_DIR_NAME)
except ValueError:
filenames = []
- print "Will not process files in '%s' because it does not have a '%s' " \
+ print("Will not process files in '%s' because it does not have a '%s' " \
"directory." \
- % (dirname, SVN_WC_ADM_DIR_NAME)
+ % (dirname, SVN_WC_ADM_DIR_NAME))
return
filenames.sort()
@@ -150,8 +150,8 @@ def filter_walk(autoprop_lines, dirname,
status = os.spawnvp(os.P_WAIT, 'svn', command)
if status:
- print 'Command "%s" failed with exit status %s' \
- % (command, status)
+ print('Command "%s" failed with exit status %s' \
+ % (command, status))
sys.exit(1)
def main():
@@ -184,8 +184,8 @@ def main():
try:
fd = file(config_filename)
except IOError:
- print "Cannot open svn configuration file '%s' for reading: %s" \
- % (config_filename, sys.exc_value.strerror)
+ print("Cannot open svn configuration file '%s' for reading: %s" \
+ % (config_filename, sys.exc_value.strerror))
return 1
autoprop_lines = get_autoprop_lines(fd)