aboutsummaryrefslogtreecommitdiff
path: root/whatmaps/command.py
diff options
context:
space:
mode:
Diffstat (limited to 'whatmaps/command.py')
-rwxr-xr-xwhatmaps/command.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/whatmaps/command.py b/whatmaps/command.py
index 0f8e433..263f964 100755
--- a/whatmaps/command.py
+++ b/whatmaps/command.py
@@ -174,7 +174,9 @@ def main(argv):
return 1
if not pkgs:
return 0
- pkgs = distro.filter_security_updates(pkgs)
+ pkgs, notfound = distro.filter_security_updates(pkgs)
+ if notfound:
+ logging.warning("Pkgs %s not found in apt cache" % ", ".join(notfound))
logging.debug("Security Upgrades: %s" % pkgs)
else:
parser.print_help()