mirror of https://github.com/dirtbags/moth.git
Back out a change I disagree with
This commit is contained in:
parent
6d509fe516
commit
15ee01b69d
|
@ -59,9 +59,6 @@ def build_category(categorydir, outdir):
|
|||
mothball = package(categoryname, categorydir, category_seed)
|
||||
shutil.copyfileobj(mothball, zipfileraw)
|
||||
zipfileraw.close()
|
||||
zipfiledir = os.path.dirname(zipfilename)
|
||||
if not os.path.exists(zipfiledir):
|
||||
os.makedirs(zipfiledir)
|
||||
shutil.move(zipfileraw.name, zipfilename)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue