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,5 +1,9 @@
|
|||
from __future__ import unicode_literals
|
||||
from cStringIO import StringIO
|
||||
try:
|
||||
from io import StringIO
|
||||
except:
|
||||
# Python 2
|
||||
from cStringIO import StringIO
|
||||
import itertools
|
||||
import logging
|
||||
import os
|
||||
|
|
Loading…
Reference in a new issue