comparison roundup/backends/rdbms_common.py @ 1175:762f48bfbc0b

missed some of the creator prop spec fixes .. metakit may be busted by this
author Richard Jones <richard@users.sourceforge.net>
date Fri, 20 Sep 2002 01:48:34 +0000
parents 8e318dfaf479
children bd3b57859c37
comparison
equal deleted inserted replaced
1174:8e318dfaf479 1175:762f48bfbc0b
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 $
2 2
3 # standard python modules 3 # standard python modules
4 import sys, os, time, re, errno, weakref, copy 4 import sys, os, time, re, errno, weakref, copy
5 5
6 # roundup modules 6 # roundup modules
1786 d = self.properties.copy() 1786 d = self.properties.copy()
1787 if protected: 1787 if protected:
1788 d['id'] = String() 1788 d['id'] = String()
1789 d['creation'] = hyperdb.Date() 1789 d['creation'] = hyperdb.Date()
1790 d['activity'] = hyperdb.Date() 1790 d['activity'] = hyperdb.Date()
1791 d['creator'] = hyperdb.Link("user") 1791 d['creator'] = hyperdb.String()
1792 return d 1792 return d
1793 1793
1794 def addprop(self, **properties): 1794 def addprop(self, **properties):
1795 '''Add properties to this class. 1795 '''Add properties to this class.
1796 1796

Roundup Issue Tracker: http://roundup-tracker.org/