Mercurial > bitten > bitten-test
changeset 234:7297fdb90255
Fix failing archive unit tests on Windows.
author | cmlenz |
---|---|
date | Fri, 30 Sep 2005 16:27:55 +0000 |
parents | 8f816147620f |
children | b8b0b0765237 |
files | bitten/util/archive.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bitten/util/archive.py +++ b/bitten/util/archive.py @@ -75,7 +75,7 @@ name = name[1:] if node.isdir: if format == 'zip': - dirpath = os.path.join(prefix, name).rstrip('/') + '/' + dirpath = os.path.join(prefix, name).rstrip('/\\') + '/' info = zipfile.ZipInfo(dirpath) archive.writestr(info, '') for entry in node.get_entries():