summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2011-08-01 11:26:14 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2011-08-01 11:26:28 -0400
commit4b7249db822cbf55d4320d62f45b663e793015e2 (patch)
tree0dba6ece3e58abd3ed59d2a81570fe5264d016ef /src/lib
parent9f3e32e61b53fac273b694dee8ad1006c9a7fc65 (diff)
downloadbcfg2-4b7249db822cbf55d4320d62f45b663e793015e2.tar.gz
bcfg2-4b7249db822cbf55d4320d62f45b663e793015e2.tar.bz2
bcfg2-4b7249db822cbf55d4320d62f45b663e793015e2.zip
fixed error message to avoid traceback
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Server/Plugins/Packages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Packages.py b/src/lib/Server/Plugins/Packages.py
index a7ffc944a..1c960b212 100644
--- a/src/lib/Server/Plugins/Packages.py
+++ b/src/lib/Server/Plugins/Packages.py
@@ -364,7 +364,7 @@ class YUMSource(Source):
try:
self.packages['global'] = copy.deepcopy(sdata.pop())
except IndexError:
- logger.error("No packages in repo at %s" % self.files[0])
+ logger.error("No packages in repo")
while sdata:
self.packages['global'] = \
self.packages['global'].intersection(sdata.pop())