From: richard Date: Mon, 8 Feb 2010 04:25:48 +0000 (+0000) Subject: actually tuples are fine and expected; also remove debug print X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6aa8d96236e1f272e29768542bcf7b9ed965360e;p=roundup.git actually tuples are fine and expected; also remove debug print git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4452 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/backends/back_anydbm.py b/roundup/backends/back_anydbm.py index 2ce4c4f..cfda757 100644 --- a/roundup/backends/back_anydbm.py +++ b/roundup/backends/back_anydbm.py @@ -1395,7 +1395,6 @@ class Class(hyperdb.Class): try: for nodeid in self.getnodeids(cldb): node = self.db.getnode(self.classname, nodeid, cldb) - print (nodeid, node, node[self.key], keyvalue) if node.has_key(self.db.RETIRED_FLAG): continue if not node.has_key(self.key): @@ -2009,9 +2008,6 @@ class Class(hyperdb.Class): if value is None: pass elif isinstance(prop, hyperdb.Date): - if type(value) == type(()): - print _('WARNING: invalid date tuple %r')%(value,) - value = date.Date( "2000-1-1" ) value = date.Date(value) elif isinstance(prop, hyperdb.Interval): value = date.Interval(value)