You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by br...@apache.org on 2013/01/05 09:49:41 UTC
svn commit: r1429237 - /subversion/trunk/tools/hook-scripts/validate-files.py
Author: breser
Date: Sat Jan 5 08:49:41 2013
New Revision: 1429237
URL: http://svn.apache.org/viewvc?rev=1429237&view=rev
Log:
* tools/hook-scripts/validate-files.py: Fix Python 3 incomptability and
print to stderr.
Suggested by: arfrever
Modified:
subversion/trunk/tools/hook-scripts/validate-files.py
Modified: subversion/trunk/tools/hook-scripts/validate-files.py
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/hook-scripts/validate-files.py?rev=1429237&r1=1429236&r2=1429237&view=diff
==============================================================================
--- subversion/trunk/tools/hook-scripts/validate-files.py (original)
+++ subversion/trunk/tools/hook-scripts/validate-files.py Sat Jan 5 08:49:41 2013
@@ -148,7 +148,7 @@ def main(repo, txn):
if __name__ == "__main__":
if len(sys.argv) != 3:
- print "invalid args"
+ sys.stderr.write("invalid args\n")
sys.exit(0)
try: