The following commit has been merged in the master branch:
commit 1012d5403f85f786e705059b659efe2cf7b292b9
Author: Ritesh Raj Sarraf <rrs at researchut.com>
Date: Thu Dec 3 21:37:09 2009 +0530
zipfile doesn't have a 'read binary' mode
diff --git a/AptOfflineLib.py b/AptOfflineLib.py
index 3627769..5db9e64 100644
--- a/AptOfflineLib.py
+++ b/AptOfflineLib.py
@@ -404,7 +404,7 @@ class Archiver:
elif archive_type == "zip":
# FIXME: This looks odd. Where are we writing to a file ???
try:
- zip_file = zipfile.ZipFile( archive_file, 'rb' )
+ zip_file = zipfile.ZipFile( archive_file, 'r' )
except IOError:
return False
--
Offline APT Package Manager