From: Radek Czajka Date: Fri, 18 Jun 2010 13:37:04 +0000 (+0200) Subject: removed some lonely expression X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/8c7b2c88a5a1e937f775c9375961526d39ee61eb?hp=d9ab661458b603e0093bb9bdceac5bc2fa73ac72 removed some lonely expression --- 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: