From 13d41faa4fd1a89cdbf7598d4edc2b1eb0f58aef Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 17 Sep 2010 11:41:32 +0200 Subject: [PATCH] no stdou in wsgi mode --- oxdata/poster/models.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/oxdata/poster/models.py b/oxdata/poster/models.py index 41f50b4..fb51499 100644 --- a/oxdata/poster/models.py +++ b/oxdata/poster/models.py @@ -73,14 +73,14 @@ class PosterCache(models.Model): data = ox.net.readUrl(url) self.image.save(name, ContentFile(data)) except ox.net.urllib2.HTTPError, e: - import traceback - print traceback.print_exc() + #import traceback + #print traceback.print_exc() self.status = e.code self.failed = True self.save() except ox.net.urllib2.URLError, e: - import traceback - print traceback.print_exc() + #import traceback + #print traceback.print_exc() self.status = e.reason self.failed = True self.save()