From 1cbebed94571f4769434cf9dca9184a39baed833 Mon Sep 17 00:00:00 2001
From: Julien Muchembled <jm@nexedi.com>
Date: Wed, 20 Feb 2013 16:31:06 +0100
Subject: [PATCH] Keep warnings enabled by default on Python 2.7

---
 product/ERP5Type/Utils.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/product/ERP5Type/Utils.py b/product/ERP5Type/Utils.py
index 6344d1b0fe..08ae372672 100644
--- a/product/ERP5Type/Utils.py
+++ b/product/ERP5Type/Utils.py
@@ -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),
-- 
2.30.9