Mercurial > public > sg101
diff oembed/core.py @ 679:89b240fe9297
For Django 1.5.2: import json; django.utils.simplejson is deprecated.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 15 Aug 2013 20:14:33 -0500 |
parents | ee87ea74d46b |
children | 344f7914d421 |
line wrap: on
line diff
--- a/oembed/core.py Wed Aug 14 14:53:21 2013 -0500 +++ b/oembed/core.py Thu Aug 15 20:14:33 2013 -0500 @@ -1,7 +1,8 @@ """ This module contains core functionality for the oembed application. + """ -from __future__ import with_statement +import json import urllib import urllib2 import gzip @@ -10,7 +11,6 @@ except ImportError: from StringIO import StringIO -import django.utils.simplejson as json USER_AGENT = 'gremmies python oembed'