[pypy-commit] pypy default: Add an assert against misuse of the 3rd argument

arigo noreply at buildbot.pypy.org
Wed Nov 27 14:41:37 CET 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r68330:d7d658cf840b
Date: 2013-11-27 14:40 +0100
http://bitbucket.org/pypy/pypy/changeset/d7d658cf840b/

Log:	Add an assert against misuse of the 3rd argument

diff --git a/pypy/tool/release/package.py b/pypy/tool/release/package.py
--- a/pypy/tool/release/package.py
+++ b/pypy/tool/release/package.py
@@ -48,6 +48,7 @@
 def package(basedir, name='pypy-nightly', rename_pypy_c='pypy',
             copy_to_dir=None, override_pypy_c=None, nostrip=False,
             withouttk=False):
+    assert '/' not in rename_pypy_c
     basedir = py.path.local(basedir)
     if override_pypy_c is None:
         basename = 'pypy-c'


More information about the pypy-commit mailing list