diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-08-01 11:26:14 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-08-01 11:26:28 -0400 |
commit | 4b7249db822cbf55d4320d62f45b663e793015e2 (patch) | |
tree | 0dba6ece3e58abd3ed59d2a81570fe5264d016ef /src/lib | |
parent | 9f3e32e61b53fac273b694dee8ad1006c9a7fc65 (diff) | |
download | bcfg2-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.py | 2 |
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()) |