[Apt-offline-devel] [SCM] Offline APT Package Manager branch, master, updated. 0.9.7-6-gb9fa836
Ritesh Raj Sarraf
rrs at researchut.com
Sun May 2 06:21:31 UTC 2010
The following commit has been merged in the master branch:
commit b9fa8365f47c7df8b8006faaa6efc12e0149f333
Author: Ritesh Raj Sarraf <rrs at researchut.com>
Date: Sun May 2 11:50:37 2010 +0530
display a sorted list of packages with their bug numbers
diff --git a/apt_offline_core/AptOfflineCoreLib.py b/apt_offline_core/AptOfflineCoreLib.py
index b606d64..88e8132 100644
--- a/apt_offline_core/AptOfflineCoreLib.py
+++ b/apt_offline_core/AptOfflineCoreLib.py
@@ -929,10 +929,13 @@ def installer( args ):
value => subject string
'''
log.msg( "\n\nFollowing are the list of bugs present.\n" )
- for each_bug in dictList.keys():
+ sortedKeyList = dictList.keys()
+ sortedKeyList.sort()
+ for each_bug in sortedKeyList:
+ pkg_name = each_bug.split( '.' )[-3].split('/')[-1]
bug_num = each_bug.split( '.' )[-2]
bug_subject = dictList[each_bug]
- log.msg( "%s\t%s\n" % ( bug_num, bug_subject ) )
+ log.msg( "%s\t%s\t\t%s\n" % ( bug_num, pkg_name, bug_subject ) )
def magic_check_and_uncompress( archive_file=None, filename=None):
retval = False
--
Offline APT Package Manager
More information about the Apt-offline-devel
mailing list