From 846abfcd401105fca710dffd3c80d8a078e45281 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Thu, 4 Oct 2007 08:14:45 +0000 Subject: [PATCH] Yay, no more stupid deprecation warnings from simplejson about the sre module. --- view/Json.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/view/Json.py b/view/Json.py index 160bb74..e2304aa 100644 --- a/view/Json.py +++ b/view/Json.py @@ -1,3 +1,5 @@ +import warnings +warnings.filterwarnings( "ignore", message = "The sre module is deprecated, please import re." ) from simplejson import JSONEncoder from datetime import datetime, date