From 78b6b197cf258f2201856a8f8e89083917f6c38f Mon Sep 17 00:00:00 2001 From: richard Date: Mon, 9 Aug 2010 04:52:16 +0000 Subject: [PATCH] remove unnecessary brackets git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4516 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/backends/rdbms_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roundup/backends/rdbms_common.py b/roundup/backends/rdbms_common.py index 6942a78..2520aba 100644 --- a/roundup/backends/rdbms_common.py +++ b/roundup/backends/rdbms_common.py @@ -2729,7 +2729,7 @@ class FileClass(hyperdb.FileClass, Class): if propname == 'content': try: return self.db.getfile(self.classname, nodeid, None) - except IOError, (strerror): + except IOError, strerror: # BUG: by catching this we donot see an error in the log. return 'ERROR reading file: %s%s\n%s\n%s'%( self.classname, nodeid, poss_msg, strerror) -- 2.30.2