From 47c28439d98acb79ad5170a3e7645ece43a095d4 Mon Sep 17 00:00:00 2001 From: Mjumbe Wawatu Ukweli Date: Tue, 12 Jan 2016 20:39:55 -0500 Subject: [PATCH] Python3 compatibility Update the StringIO import in symposion.sponsorship.views --- symposion/sponsorship/views.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/symposion/sponsorship/views.py b/symposion/sponsorship/views.py index 35b7b16f..3f749900 100644 --- a/symposion/sponsorship/views.py +++ b/symposion/sponsorship/views.py @@ -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