Commit 2e66e5b5 authored by Trevor Cappallo's avatar Trevor Cappallo
Browse files

remove debug prints

parent dcd4d1ad
......@@ -38,7 +38,6 @@ def __exit_handler(logger, notify):
if logger.has_errors():
lev = logging.ERROR
addresses = notify['ERROR']
print "before addresses:", addresses
if notify['DEBUG']:
addresses.extend(notify['DEBUG'])
if logger.has_critical() and notify['CRITICAL']:
......@@ -49,8 +48,6 @@ def __exit_handler(logger, notify):
else:
addresses = list(set(addresses))
logger.email_log(addresses, level=lev)
print "after addresses", addresses
print "notify =", notify
elif notify['DEBUG']:
addresses = list(set(notify['DEBUG']))
logger.email_log(addresses, level=logging.DEBUG)
......
......@@ -15,7 +15,7 @@ TESTS_REQUIRE = [
setup(
name='OperationalLogging',
version='0.4.1',
version='0.5.2',
description='Logging and email notification for operational projects',
author='Verisk Climate',
author_email='tcappallo@veriskclimate.com',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment