[Apt-offline-devel] [SCM] Offline APT Package Manager branch, master, updated. 0.9.6-8-g8847902

Ritesh Raj Sarraf rrs at researchut.com
Sun Jan 17 20:07:28 UTC 2010


The following commit has been merged in the master branch:
commit b365a61eae7b457b2df847f084681a4f60ab2854
Author: Ritesh Raj Sarraf <rrs at researchut.com>
Date:   Sun Jan 3 02:09:06 2010 +0530

    Don't print success if downloaded from web and there is a checksum mismatch

diff --git a/AptOfflineCoreLib.py b/AptOfflineCoreLib.py
index 13416e9..abd6c2f 100644
--- a/AptOfflineCoreLib.py
+++ b/AptOfflineCoreLib.py
@@ -695,6 +695,7 @@ def fetcher( args ):
                                                                         else:
                                                                                 log.verbose( "%s added to archive %s.%s\n" % ( file, Str_BundleFile, LINE_OVERWRITE_SMALL ) )
                                                                                 os.unlink( os.path.join( Str_DownloadDir, file ) )
+                                                                log.success( "\r%s %s done.%s\n" % ( PackageName, PackageVersion, LINE_OVERWRITE_FULL ) )
                                                         else:
                                                                 #INFO MD5 Checksum is incorrect.
                                                                 log.err( "%s Checksum mismatch.\n" % ( PackageName ) )
@@ -715,7 +716,7 @@ def fetcher( args ):
                                                                         log.verbose( "%s added to archive %s.%s\n" % ( file, Str_BundleFile, LINE_OVERWRITE_SMALL ) )
                                                                         os.unlink( os.path.join( Str_DownloadDir, file ) )
                                             
-                                                log.success( "\r%s %s done.%s\n" % ( PackageName, PackageVersion, LINE_OVERWRITE_FULL ) )
+                                                        log.success( "\r%s %s done.%s\n" % ( PackageName, PackageVersion, LINE_OVERWRITE_FULL ) )
                                         else:
                                                 errlist.append( PackageName )
                                                 

-- 
Offline APT Package Manager



More information about the Apt-offline-devel mailing list