mirror of
https://github.com/python/cpython.git
synced 2025-09-06 08:51:39 +00:00
Syntax cleanup.
This commit is contained in:
parent
3f8ab965f7
commit
02ea12b291
7 changed files with 9 additions and 11 deletions
|
@ -79,7 +79,7 @@ def make_zip_script(zip_dir, zip_basename, script_name, name_in_zip=None):
|
|||
name_in_zip = os.path.basename(script_name)
|
||||
zip_file.write(script_name, name_in_zip)
|
||||
zip_file.close()
|
||||
#if test.test_support.verbose:
|
||||
#if test.support.verbose:
|
||||
# zip_file = zipfile.ZipFile(zip_name, 'r')
|
||||
# print 'Contents of %r:' % zip_name
|
||||
# zip_file.printdir()
|
||||
|
@ -114,7 +114,7 @@ def make_zip_pkg(zip_dir, zip_basename, pkg_name, script_basename,
|
|||
zip_file.close()
|
||||
for name in unlink:
|
||||
os.unlink(name)
|
||||
#if test.test_support.verbose:
|
||||
#if test.support.verbose:
|
||||
# zip_file = zipfile.ZipFile(zip_name, 'r')
|
||||
# print 'Contents of %r:' % zip_name
|
||||
# zip_file.printdir()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue