witten
/
luminotes
Archived
1
0
Fork 0

Yay, no more stupid deprecation warnings from simplejson about the sre module.

This commit is contained in:
Dan Helfman 2007-10-04 08:14:45 +00:00
parent bcbfabe011
commit 846abfcd40
1 changed files with 2 additions and 0 deletions

View File

@ -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