Syntax cleanup.

This commit is contained in:
Florent Xicluna 2010-07-28 16:39:41 +00:00
parent 3f8ab965f7
commit 02ea12b291
7 changed files with 9 additions and 11 deletions

View file

@ -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()