Python3 compatibility
Update the StringIO import in symposion.sponsorship.views
This commit is contained in:
parent
46a10b9e3a
commit
47c28439d9
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,8 @@
|
|||
from __future__ import unicode_literals
|
||||
try:
|
||||
from io import StringIO
|
||||
except:
|
||||
# Python 2
|
||||
from cStringIO import StringIO
|
||||
import itertools
|
||||
import logging
|
||||
|
|
Loading…
Reference in a new issue