[pypy-svn] r39138 - pypy/dist/pypy/tool

pedronis at codespeak.net pedronis at codespeak.net
Sat Feb 17 20:28:07 CET 2007


Author: pedronis
Date: Sat Feb 17 20:28:06 2007
New Revision: 39138

Modified:
   pypy/dist/pypy/tool/makerelease.py
Log:
error checking before I forget.



Modified: pypy/dist/pypy/tool/makerelease.py
==============================================================================
--- pypy/dist/pypy/tool/makerelease.py	(original)
+++ pypy/dist/pypy/tool/makerelease.py	Sat Feb 17 20:28:06 2007
@@ -98,7 +98,9 @@
         micro = py.std.sys.argv[2]
         assert micro.startswith('.')
         NEWURL = BASEURL.replace('.x', micro)
-        os.system("svn cp %s %s" % (BASEURL, NEWURL))
+        r = os.system("svn cp %s %s" % (BASEURL, NEWURL))
+        if r:
+            raise SystemExit, -1
         BASEURL = NEWURL
         j = 3
         



More information about the Pypy-commit mailing list