From cefcc94b84004de711067ea4d4146c40e0ee6b11 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 28 Aug 2009 11:43:14 +0200 Subject: [PATCH] no debug in wsgi mode --- text/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/text/models.py b/text/models.py index fa3d6c1..e3841f2 100644 --- a/text/models.py +++ b/text/models.py @@ -118,8 +118,8 @@ class Text(models.Model): if not os.path.exists(os.path.dirname(path)): os.makedirs(os.path.dirname(path)) old_dir = os.path.dirname(self.file.path) - print 'old', self.file.path - print 'new', path + #print 'old', self.file.path + #print 'new', path os.rename(self.file.path, path) #FIXME: remove old dir if its empy if not glob('%s/*' % old_dir):