From 15ee01b69df567d781e0adb5e8e4fd13894043a3 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Fri, 19 Apr 2019 16:18:08 +0000 Subject: [PATCH] Back out a change I disagree with --- devel/mothballer.py | 3 --- 1 file changed, 3 deletions(-) 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)