[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:20 UTC 2009


The following commit has been merged in the master branch:
commit 1306d338b163e51def1fa96b8aa254bd778cef35
Author: Ritesh Raj Sarraf <rrs at researchut.com>
Date:   Thu Dec 3 21:48:29 2009 +0530

    add comment about zip file useless handling

diff --git a/AptOfflineLib.py b/AptOfflineLib.py
index df6d345..b2f874a 100644
--- a/AptOfflineLib.py
+++ b/AptOfflineLib.py
@@ -402,6 +402,11 @@ class Archiver:
                         read_from.close()
                         return True
                 elif archive_type == "zip":
+                        #INFO: We will never reach here.
+                        # Package data from Debian is usually served only in bz2 or gzip format
+                        # Plain zip is something we might never see.
+                        # Leaving it here just like that. Maybe we will use it in the future
+
                         # FIXME: This looks odd. Where are we writing to a file ???
                         try:
                                 zip_file = zipfile.ZipFile( archive_file, 'r' )

-- 
Offline APT Package Manager



More information about the Apt-offline-devel mailing list