Python3 compatibility

Update the StringIO import in symposion.sponsorship.views
This commit is contained in:
Mjumbe Wawatu Ukweli 2016-01-12 20:39:55 -05:00
parent 46a10b9e3a
commit 47c28439d9

View file

@ -1,4 +1,8 @@
from __future__ import unicode_literals from __future__ import unicode_literals
try:
from io import StringIO
except:
# Python 2
from cStringIO import StringIO from cStringIO import StringIO
import itertools import itertools
import logging import logging