summaryrefslogtreecommitdiff
path: root/bin/scons-unzip.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/scons-unzip.py')
-rw-r--r--bin/scons-unzip.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/scons-unzip.py b/bin/scons-unzip.py
index 28c73f8..d4ec4bf 100644
--- a/bin/scons-unzip.py
+++ b/bin/scons-unzip.py
@@ -45,14 +45,14 @@ if outdir is None:
def outname(n, outdir=outdir):
l = []
- while 1:
+ while True:
n, tail = os.path.split(n)
if not n:
break
l.append(tail)
l.append(outdir)
l.reverse()
- return apply(os.path.join, l)
+ return os.path.join(*l)
for name in zf.namelist():
dest = outname(name)