summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Tools/RPM.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Client/Tools/RPM.py')
-rw-r--r--src/lib/Client/Tools/RPM.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Client/Tools/RPM.py b/src/lib/Client/Tools/RPM.py
index 661c0a167..3a3d1b7e4 100644
--- a/src/lib/Client/Tools/RPM.py
+++ b/src/lib/Client/Tools/RPM.py
@@ -23,6 +23,8 @@ class RPM(Bcfg2.Client.Tools.PkgTool):
(name, version) = line.split()
self.installed[name] = version
except ValueError:
+ if line == '':
+ continue
self.logger.error("Failed to access RPM db; retrying after 30s")
time.sleep(30)
return self.RefreshPackages(level + 1)