From: gmcm Date: Fri, 20 Sep 2002 19:33:18 +0000 (+0000) Subject: Remove some nasty debugging code. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0a18f0d1b9dbace21eaddea90430425eb888129d;p=roundup.git Remove some nasty debugging code. git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1203 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/backends/back_metakit.py b/roundup/backends/back_metakit.py index df09c3e..eeb93db 100755 --- a/roundup/backends/back_metakit.py +++ b/roundup/backends/back_metakit.py @@ -108,11 +108,7 @@ class _Database(hyperdb.Database): self.tables.append(name=cl.classname) def addjournal(self, tablenm, nodeid, action, params, creator=None, creation=None): - try: - tblid = self.tables.find(name=tablenm) - except ValueError: - open('/u/roundup-sf/roundup/error.out','w').write('\nself.tables=%s, tablenm=%s\n' % (self.tables.structure(), tablenm)) - raise + tblid = self.tables.find(name=tablenm) if tblid == -1: tblid = self.tables.append(name=tablenm) if creator is None: