Code

remove unnecessary brackets
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Mon, 9 Aug 2010 04:52:16 +0000 (04:52 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Mon, 9 Aug 2010 04:52:16 +0000 (04:52 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4516 57a73879-2fb5-44c3-a270-3262357dd7e2

roundup/backends/rdbms_common.py

index 6942a78b847af1b0a37b5d581b1fc2367bb04e9d..2520aba25d4c39015b50d92b93700dc444671920 100644 (file)
@@ -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)