[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 bb23729498d5235661932550075d9f84323d70bc
Author: Ritesh Raj Sarraf <rrs at researchut.com>
Date:   Thu Dec 3 21:30:11 2009 +0530

    return False on sync failure of the stream

diff --git a/AptOfflineLib.py b/AptOfflineLib.py
index ee0c98b..c3b9f18 100644
--- a/AptOfflineLib.py
+++ b/AptOfflineLib.py
@@ -396,8 +396,8 @@ class Archiver:
                                 return False
                         
                         if self.TarGzipBZ2_Uncompress( read_from, write_to ) != True:
-                                #FIXME:
-                                raise ArchiveError
+                                #INFO: Return False for the stream that failed.
+                                return False
                         write_to.close()
                         read_from.close()
                         return True

-- 
Offline APT Package Manager



More information about the Apt-offline-devel mailing list