Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

Commit 866da26

Browse files
committed
[codingtools] Fixed further over zealous search n replace
1 parent c71912e commit 866da26

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

codingtools/make_release.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ def make_zip_distribution(options):
145145
cwd = os.getcwd()
146146
try:
147147
checkout_dir, bam_dir = os.path.split(cwd)
148-
zip_path = os.path.join(checkout_dir, "BuildAMation-%s.zip_object" % options.version)
149-
print >>sys.stdout, "Writing zip_object file_path %s" % zip_path
148+
zip_path = os.path.join(checkout_dir, "BuildAMation-%s.zip" % options.version)
149+
print >>sys.stdout, "Writing zip file_path %s" % zip_path
150150
sys.stdout.flush()
151151
os.chdir(checkout_dir)
152152

@@ -163,7 +163,7 @@ def recursive_write(zip_object, dir_to_add):
163163
zip_object.write(os.path.join(bam_dir, "License.md"))
164164
recursive_write(zip_object, os.path.join(bam_dir, "packages"))
165165
recursive_write(zip_object, os.path.join(bam_dir, "tests"))
166-
print >>sys.stdout, "Finished writing zip_object file_path %s" % zip_path
166+
print >>sys.stdout, "Finished writing zip file_path %s" % zip_path
167167
sys.stdout.flush()
168168
finally:
169169
os.chdir(cwd)
@@ -189,8 +189,8 @@ def make_zip_docs_distribution(options):
189189
cwd = os.getcwd()
190190
try:
191191
checkout_dir, bam_dir = os.path.split(cwd)
192-
zip_path = os.path.join(checkout_dir, "BuildAMation-%s-docs.zip_object" % options.version)
193-
print >>sys.stdout, "Writing zip_object file_path %s" % zip_path
192+
zip_path = os.path.join(checkout_dir, "BuildAMation-%s-docs.zip" % options.version)
193+
print >>sys.stdout, "Writing zip file_path %s" % zip_path
194194
sys.stdout.flush()
195195
os.chdir(checkout_dir)
196196

@@ -200,7 +200,7 @@ def recursive_write(zip_object, dir_to_add):
200200
zip_object.write(os.path.join(root, file_path))
201201
with zipfile.ZipFile(zip_path, "w", zipfile.ZIP_DEFLATED) as zip_object:
202202
recursive_write(zip_object, os.path.join(bam_dir, "docs"))
203-
print >>sys.stdout, "Finished writing zip_object file_path %s" % zip_path
203+
print >>sys.stdout, "Finished writing zip file_path %s" % zip_path
204204
sys.stdout.flush()
205205
finally:
206206
os.chdir(cwd)

0 commit comments

Comments
 (0)