Add script to report the number of system updates

This commit is contained in:
2011-11-23 22:38:39 +00:00
parent 8c7ac2093c
commit 59970c022d

11
packageupdatecount.py Executable file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/python
import os
from entropy.client.interfaces import Client
entropy_client = Client()
updates, removals, fine, downgrades = entropy_client.calculate_updates()
print len(updates)