# HG changeset patch # User cmlenz # Date 1128097675 0 # Node ID 7297fdb90255eeededf191f602bbb2baeb8cca6c # Parent 8f816147620fcdd246cb62a2e5e368b6d94ba186 Fix failing archive unit tests on Windows. diff --git a/bitten/util/archive.py b/bitten/util/archive.py --- 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():