projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b46ef9
)
Normalize paths before writing them to a zipfile.
author
Greg Ward
<gward@python.net>
Wed, 31 May 2000 02:17:19 +0000
(
02:17
+0000)
committer
Greg Ward
<gward@python.net>
Wed, 31 May 2000 02:17:19 +0000
(
02:17
+0000)
Lib/distutils/archive_util.py
patch
|
blob
|
history
diff --git
a/Lib/distutils/archive_util.py
b/Lib/distutils/archive_util.py
index 050ea41796a9edcd445cd3042390fdc45dfb5b3d..218450a6ba8ae6a76470de634a7896f30eb3614f 100644
(file)
--- a/
Lib/distutils/archive_util.py
+++ b/
Lib/distutils/archive_util.py
@@
-93,7
+93,7
@@
def make_zipfile (base_name, base_dir, verbose=0, dry_run=0):
def visit (z, dirname, names):
for name in names:
- path = os.path.
join (dirname, name
)
+ path = os.path.
normpath(os.path.join(dirname, name)
)
if os.path.isfile (path):
z.write (path, path)