diff --git a/devel/mothballer.py b/devel/mothballer.py index 135034b..19bd46d 100755 --- a/devel/mothballer.py +++ b/devel/mothballer.py @@ -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)