Commit 1cbebed9 authored by Julien Muchembled's avatar Julien Muchembled

Keep warnings enabled by default on Python 2.7

parent 8cb19830
......@@ -214,6 +214,8 @@ def sortValueList(value_list, sort_on=None, sort_order=None, **kw):
# Logging
#####################################################
warnings.simplefilter("default")
def _showwarning(message, category, filename, lineno, file=None, line=None):
if file is None:
LOG("%s:%u %s: %s" % (filename, lineno, category.__name__, message),
......
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