From 8c7b2c88a5a1e937f775c9375961526d39ee61eb Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Fri, 18 Jun 2010 15:37:04 +0200 Subject: [PATCH] removed some lonely expression --- apps/catalogue/views.py | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/catalogue/views.py b/apps/catalogue/views.py index 102b38ee5..dd9830c04 100644 --- a/apps/catalogue/views.py +++ b/apps/catalogue/views.py @@ -614,7 +614,6 @@ def import_book(request): info = sys.exc_info() exception = pprint.pformat(info[1]) tb = '\n'.join(traceback.format_tb(info[2])) - _('Today is %(month)s, %(day)s.') % {'month': m, 'day': d} return HttpResponse(_("An error occurred: %(exception)s\n\n%(tb)s") % {'exception':exception, 'tb':tb}, mimetype='text/plain') return HttpResponse(_("Book imported successfully")) else: -- 2.20.1