summaryrefslogtreecommitdiffstats
path: root/pavement.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-10-09 22:09:16 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-10-09 22:09:16 +0200
commit49c4088ceb02da735d549014aaa9cba8c729ba54 (patch)
tree9ae70f02f4c548b7e7d2409eef89505cbd1924db /pavement.py
parentadded nodejs as usuable js engine (diff)
downloadpyload-49c4088ceb02da735d549014aaa9cba8c729ba54.tar.xz
modified Api: filter downloads by state
Diffstat (limited to 'pavement.py')
-rw-r--r--pavement.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pavement.py b/pavement.py
index 6ed9b8689..6c4925acf 100644
--- a/pavement.py
+++ b/pavement.py
@@ -182,7 +182,9 @@ def ttypes(options):
outdir = PROJECT_DIR / "module" / "remote"
- (outdir / "gen-py").rmtree()
+
+ if (outdir / "gen-py").exists():
+ (outdir / "gen-py").rmtree()
cmd = [options.ttypes.path, "-strict", "-o", outdir, "--gen", "py:slots,dynamic", outdir / "pyload.thrift"]