summaryrefslogtreecommitdiff
path: root/gbp/rpm/lib_rpm.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/rpm/lib_rpm.py')
-rw-r--r--gbp/rpm/lib_rpm.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gbp/rpm/lib_rpm.py b/gbp/rpm/lib_rpm.py
index 4bad44e7..da914207 100644
--- a/gbp/rpm/lib_rpm.py
+++ b/gbp/rpm/lib_rpm.py
@@ -25,6 +25,7 @@ try:
# Try to load special RPM lib to be used for GBP (only)
librpm = __import__(RpmPkgPolicy.python_rpmlib_module_name)
except ImportError:
+ gbp.log.getLogger("gbp")
gbp.log.warn("Failed to import '%s' as rpm python module, using host's "
"default rpm library instead" %
RpmPkgPolicy.python_rpmlib_module_name)