From 3e2dfb260f88c4c4efe1840c0ec38e652f070b4d Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Wed, 6 Feb 2013 14:31:18 +0100 Subject: [PATCH] wrong django version --- apps/catalogue/management/commands/make_master.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/catalogue/management/commands/make_master.py b/apps/catalogue/management/commands/make_master.py index 08ccb7fa..b2622013 100644 --- a/apps/catalogue/management/commands/make_master.py +++ b/apps/catalogue/management/commands/make_master.py @@ -2,7 +2,7 @@ from django.core.management.base import BaseCommand from django.core.management.color import color_style -from django.utils.encoding import smart_text +from django.utils.encoding import smart_unicode from catalogue.management.prompt import confirm from catalogue.models import Book from optparse import make_option @@ -82,7 +82,7 @@ class Command(BaseCommand): holder['xml'] += u"%s\n" % t def dc(k, v): - v = smart_text(v) + v = smart_unicode(v) p(u'%s' % (k, v, k)) def t(tag, ct): -- 2.20.1