From d6b04508527d75becb019cb206cd81ec046e23d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Avil=C3=A9s?= Date: Mon, 27 Oct 2014 16:02:28 +0100 Subject: [PATCH] Add from __future__ import unicode_literals --- importer/indico_importer/__init__.py | 2 ++ importer/indico_importer/controllers.py | 2 ++ importer/indico_importer/converter.py | 2 ++ importer/indico_importer/utils.py | 2 ++ importer/setup.py | 2 ++ 5 files changed, 10 insertions(+) diff --git a/importer/indico_importer/__init__.py b/importer/indico_importer/__init__.py index 5d8ee42..14799b3 100644 --- a/importer/indico_importer/__init__.py +++ b/importer/indico_importer/__init__.py @@ -14,6 +14,8 @@ # You should have received a copy of the GNU General Public License # along with Indico; if not, see . +from __future__ import unicode_literals + from indico.core import signals from indico.core.plugins import IndicoPlugin, IndicoPluginBlueprint, plugin_url_rule_to_js from MaKaC.webinterface.pages.conferences import WPConfModifScheduleGraphic diff --git a/importer/indico_importer/controllers.py b/importer/indico_importer/controllers.py index 2be9ccf..7f78f5c 100644 --- a/importer/indico_importer/controllers.py +++ b/importer/indico_importer/controllers.py @@ -14,6 +14,8 @@ # You should have received a copy of the GNU General Public License # along with Indico; if not, see . +from __future__ import unicode_literals + from flask import jsonify from flask_pluginengine import current_plugin diff --git a/importer/indico_importer/converter.py b/importer/indico_importer/converter.py index d6e3aa9..bf89da9 100644 --- a/importer/indico_importer/converter.py +++ b/importer/indico_importer/converter.py @@ -14,6 +14,8 @@ # You should have received a copy of the GNU General Public License # along with Indico; if not, see . +from __future__ import unicode_literals + class RecordConverter(object): """ diff --git a/importer/indico_importer/utils.py b/importer/indico_importer/utils.py index 6732779..388a008 100644 --- a/importer/indico_importer/utils.py +++ b/importer/indico_importer/utils.py @@ -14,6 +14,8 @@ # You should have received a copy of the GNU General Public License # along with Indico; if not, see . +from __future__ import unicode_literals + def parse_datetime(string): split_datetime = string[0].split('T') diff --git a/importer/setup.py b/importer/setup.py index 809696c..9e0841d 100644 --- a/importer/setup.py +++ b/importer/setup.py @@ -14,6 +14,8 @@ # You should have received a copy of the GNU General Public License # along with Indico; if not, see . +from __future__ import unicode_literals + from setuptools import setup, find_packages