summaryrefslogtreecommitdiffstats
path: root/src/lib/Server
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2009-10-21 02:55:12 +0000
committerNarayan Desai <desai@mcs.anl.gov>2009-10-21 02:55:12 +0000
commit9bf76f4b581c37b03bac49636447325146531dc9 (patch)
treeacee9ffdf5152b9c88ca5a9b3c7c58be30efa826 /src/lib/Server
parent2fc74f0347ea4cde17b84e22a698d2f502cc65d8 (diff)
downloadbcfg2-9bf76f4b581c37b03bac49636447325146531dc9.tar.gz
bcfg2-9bf76f4b581c37b03bac49636447325146531dc9.tar.bz2
bcfg2-9bf76f4b581c37b03bac49636447325146531dc9.zip
bcfg2-info: simplify codepaths for debug mode
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5489 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server')
-rw-r--r--src/lib/Server/Plugins/Packages.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/Server/Plugins/Packages.py b/src/lib/Server/Plugins/Packages.py
index 47d97957e..02596c5a8 100644
--- a/src/lib/Server/Plugins/Packages.py
+++ b/src/lib/Server/Plugins/Packages.py
@@ -158,6 +158,10 @@ class Source(object):
except NoData:
item_is_virt = False
+ #print "%s:%s:%s" % (item, item_is_pkg, item_is_virt)
+ if (not item_is_pkg) and (not item_is_virt):
+ unknown.add(item)
+ continue
if item_is_pkg and not item_is_virt:
newpkg.add(item)
try: