diff options
author | Luca Falavigna <dktrkranz@debian.org> | 2010-06-15 14:28:22 +0000 |
---|---|---|
committer | Luca Falavigna <dktrkranz@debian.org> | 2010-06-15 14:28:22 +0000 |
commit | 738149c9bfb9965d013d01ef99f9bb1c2819e7e8 (patch) | |
tree | 0397d9bf3b12c903dc73419585df231397ff343c /bin/scons-unzip.py | |
parent | e7885e3af440eaef38a9301fd92a105afc8ddebb (diff) |
Imported Upstream version 2.0.0upstream/2.0.0
Diffstat (limited to 'bin/scons-unzip.py')
-rw-r--r-- | bin/scons-unzip.py | 4 |
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) |