Commits

Armin Rigo committed d7d658c

Add an assert against misuse of the 3rd argument

Comments (0)

Files changed (1)

pypy/tool/release/package.py

 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'