summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTim Laszlo <tim.laszlo@gmail.com>2012-06-15 09:34:01 -0500
committerTim Laszlo <tim.laszlo@gmail.com>2012-06-15 09:34:01 -0500
commitac829ae7da105070007d7f95882ddff1f6b338f0 (patch)
tree2e4ad0d4a7992f3b55720215a7425d4306f00612 /src
parent067c582b1f62e44aa44a155f1fc55b1140a9a7da (diff)
downloadbcfg2-ac829ae7da105070007d7f95882ddff1f6b338f0.tar.gz
bcfg2-ac829ae7da105070007d7f95882ddff1f6b338f0.tar.bz2
bcfg2-ac829ae7da105070007d7f95882ddff1f6b338f0.zip
DBStats: remove vlevel from _fetch_reason
Diffstat (limited to 'src')
-rwxr-xr-xsrc/lib/Bcfg2/Server/Reports/importscript.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/Server/Reports/importscript.py b/src/lib/Bcfg2/Server/Reports/importscript.py
index 4b51a09d4..4e6ca2b96 100755
--- a/src/lib/Bcfg2/Server/Reports/importscript.py
+++ b/src/lib/Bcfg2/Server/Reports/importscript.py
@@ -96,8 +96,7 @@ def _fetch_reason(elem, kargs, logger):
except IndexError:
rr = Reason(**kargs)
rr.save()
- if vlevel > 0:
- logger.info("Created reason: %s" % rr.id)
+ logger.info("Created reason: %s" % rr.id)
except Exception:
ex = sys.exc_info()[1]
logger.error("Failed to create reason for %s: %s" % (elem.get('name'), ex))