[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:18 UTC 2009
The following commit has been merged in the master branch:
commit 98e655d729a349b66c93d850bb90ae7cd7954714
Author: Ritesh Raj Sarraf <rrs at researchut.com>
Date: Thu Dec 3 21:18:51 2009 +0530
log sync failures and bypass PGP signature files with 'True'
diff --git a/AptOfflineCoreLib.py b/AptOfflineCoreLib.py
index 7415857..6b203d8 100644
--- a/AptOfflineCoreLib.py
+++ b/AptOfflineCoreLib.py
@@ -901,6 +901,9 @@ def installer( args ):
elif AptOfflineMagicLib.file( archive_file ) == "PGP armored data":
filename = os.path.join(apt_update_target_path, filename)
shutil.copy2(archive_file, filename)
+ # PGP armored data should be bypassed
+ log.verbose("File is %s, hence 'True'.\n" % (filename) )
+ retval = True
elif AptOfflineMagicLib.file( archive_file ) == "application/x-dpkg":
filename = os.path.join(apt_package_target_path, filename)
if os.access( apt_package_target_path, os.W_OK ):
@@ -925,6 +928,8 @@ def installer( args ):
if retval:
log.verbose( "%s file synced to %s.\n" % ( filename, apt_update_target_path ) )
+ else:
+ log.err("Failed to sync %s\n" % (filename) )
if os.path.isfile(install_file_path):
#INFO: For now, we support zip bundles only
--
Offline APT Package Manager
More information about the Apt-offline-devel
mailing list