Skip to content

Commit f42afc7

Browse files
author
Richard Jones
committed
missed some of the creator prop spec fixes .. metakit may be busted by this
1 parent 3af018a commit f42afc7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

roundup/backends/back_metakit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def __init__(self, db, classname, **properties):
194194
self.privateprops = { 'id' : hyperdb.String(),
195195
'activity' : hyperdb.Date(),
196196
'creation' : hyperdb.Date(),
197-
'creator' : hyperdb.Link('user') }
197+
'creator' : hyperdb.String() }
198198
self.auditors = {'create': [], 'set': [], 'retire': []} # event -> list of callables
199199
self.reactors = {'create': [], 'set': [], 'retire': []} # ditto
200200
view = self.__getview()

roundup/backends/rdbms_common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: rdbms_common.py,v 1.7 2002-09-20 01:20:32 richard Exp $
1+
# $Id: rdbms_common.py,v 1.8 2002-09-20 01:48:34 richard Exp $
22

33
# standard python modules
44
import sys, os, time, re, errno, weakref, copy
@@ -1788,7 +1788,7 @@ def getprops(self, protected=1):
17881788
d['id'] = String()
17891789
d['creation'] = hyperdb.Date()
17901790
d['activity'] = hyperdb.Date()
1791-
d['creator'] = hyperdb.Link("user")
1791+
d['creator'] = hyperdb.String()
17921792
return d
17931793

17941794
def addprop(self, **properties):

0 commit comments

Comments
 (0)