[Apt-offline-devel] [SCM] Offline APT Package Manager branch, master, updated. 0.9.5-19-g2b1fdf4

Ritesh Raj Sarraf rrs at researchut.com
Tue Dec 8 10:50:19 UTC 2009


The following commit has been merged in the master branch:
commit 8df1ea43c5aafbf65c93a3216dfbe5fb40ac5f8d
Author: Ritesh Raj Sarraf <rrs at researchut.com>
Date:   Thu Dec 3 21:36:12 2009 +0530

    correct file is archive_file

diff --git a/AptOfflineLib.py b/AptOfflineLib.py
index c3b9f18..3627769 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( file, 'rb' )
+                                zip_file = zipfile.ZipFile( archive_file, 'rb' )
                         except IOError:
                                 return False
                         

-- 
Offline APT Package Manager



More information about the Apt-offline-devel mailing list