1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-22 02:13:44 +01:00

Print package names

This commit is contained in:
Tomas Edwardsson 2013-07-14 22:46:30 +00:00
parent c7a4b60654
commit cfd3cfcff8

View File

@ -41,6 +41,8 @@ def main():
for update_type in pkg_updates: for update_type in pkg_updates:
print "%s: %i" % (update_type, len(pkg_updates[update_type])) print "%s: %i" % (update_type, len(pkg_updates[update_type]))
for pkg in pkg_updates[update_type]:
print " %s" % pkg
if __name__ == "__main__": if __name__ == "__main__":
main() main()