summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Macken <lmacken@redhat.com>2011-04-12 21:37:53 -0400
committerLuke Macken <lmacken@redhat.com>2011-04-12 21:37:53 -0400
commitf3c6cdd6719195c05fa582f540bb502b2e281dbb (patch)
tree8e2c826225dc233ee2fdce6594d37026bd0ca1ea
parentef0f36eee50df5081280edd069ff452573c0f679 (diff)
downloadleafymiracle-f3c6cdd6719195c05fa582f540bb502b2e281dbb.zip
leafymiracle-f3c6cdd6719195c05fa582f540bb502b2e281dbb.tar.gz
leafymiracle-f3c6cdd6719195c05fa582f540bb502b2e281dbb.tar.xz
Print out the package name instead of the repr
-rw-r--r--leafymiracle/populate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/leafymiracle/populate.py b/leafymiracle/populate.py
index 87d578a..4b0cf2b 100644
--- a/leafymiracle/populate.py
+++ b/leafymiracle/populate.py
@@ -72,7 +72,7 @@ def add_dependencies(package, session):
deps = set()
pkg = yumobj.pkgSack.searchNevra(name=package.name)
if not pkg:
- print "Cannot find package: %s" % package
+ print "Cannot find package: %s" % package.name
return
deps_d = yumobj.findDeps([pkg[0]])