Skip to content

Commit 6ca08e7

Browse files
author
Richard Jones
committed
activity RDBMS columns were being reported in changes
1 parent fa7e187 commit 6ca08e7

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ are given with the most recent entry first.
44
2005-??-?? 0.8.4
55
Fixed:
66
- extra CRs in CSV export files on Windows platform (sf bug 1195742)
7+
- activity RDBMS columns were being reported in changes
78

89

910
2005-05-02 0.8.3

roundup/backends/rdbms_common.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: rdbms_common.py,v 1.142.2.8 2005-05-02 05:47:53 richard Exp $
1+
# $Id: rdbms_common.py,v 1.142.2.9 2005-05-18 05:18:15 richard Exp $
22
''' Relational database (SQL) backend common code.
33
44
Basics:
@@ -1698,9 +1698,14 @@ def set_inner(self, nodeid, **propvalues):
16981698
propvalues['activity'] = date.Date()
16991699
propvalues['actor'] = self.db.getuid()
17001700

1701-
# do the set, and journal it
1701+
# do the set
17021702
self.db.setnode(self.classname, nodeid, propvalues, multilink_changes)
17031703

1704+
# remove the activity props now they're handled
1705+
del propvalues['activity']
1706+
del propvalues['actor']
1707+
1708+
# journal the set
17041709
if self.do_journal:
17051710
self.db.addjournal(self.classname, nodeid, ''"set", journalvalues)
17061711

0 commit comments

Comments
 (0)