From: Magnus Hagander Date: Mon, 14 Jan 2013 14:33:40 +0000 (+0100) Subject: Remove print statements from old debugging X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=dace9c8f6db7c855a608bdbdf5840521f3ef47ea;p=pgarchives.git Remove print statements from old debugging --- diff --git a/django/archives/mailarchives/views.py b/django/archives/mailarchives/views.py index 4416ae4..095e287 100644 --- a/django/archives/mailarchives/views.py +++ b/django/archives/mailarchives/views.py @@ -455,7 +455,6 @@ def legacy(request, listname, year, month, msgnum): }) r = curs.fetchall() if len(r) != 1: - print "Meh, not found!" raise Http404('Message does not exist') return HttpResponsePermanentRedirect('/message-id/%s' % r[0][0]) @@ -469,5 +468,4 @@ def mbox(request, listname, mboxname): # in the cache. @cache(hours=8) def slash_redirect(request, url): - print url return HttpResponsePermanentRedirect("/%s" % url)