summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8492818)
raw | patch | inline | side by side (parent: 8492818)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 23 Sep 2002 08:17:05 +0000 (08:17 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 23 Sep 2002 08:17:05 +0000 (08:17 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1211 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/backends/rdbms_common.py | patch | blob | history |
index f3d6821b83e6b01afcd20a1e41e7f6362e66d05d..b5572e33ac556eca221dba2c2d3d1bdb539c3e89 100644 (file)
-# $Id: rdbms_common.py,v 1.12 2002-09-23 07:15:32 richard Exp $
+# $Id: rdbms_common.py,v 1.13 2002-09-23 08:17:05 richard Exp $
# standard python modules
import sys, os, time, re, errno, weakref, copy
value = pwd
d[propname] = value
+ # add the node and journal
+ self.db.addnode(self.classname, newid, d)
+
# extract the extraneous journalling gumpf and nuke it
if d.has_key('creator'):
creator = d['creator']
del d['creator']
+ else:
+ creator = None
if d.has_key('creation'):
creation = d['creation']
del d['creation']
+ else:
+ creation = None
if d.has_key('activity'):
del d['activity']
-
- # add the node and journal
- self.db.addnode(self.classname, newid, d)
self.db.addjournal(self.classname, newid, 'create', d, creator,
creation)
return newid