Skip to content

Commit 221d099

Browse files
author
Anthony Baxter
committed
fix metakit. backport candidate
1 parent cc9dfab commit 221d099

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

roundup/backends/back_metakit.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: back_metakit.py,v 1.94 2005-04-28 00:21:42 richard Exp $
1+
# $Id: back_metakit.py,v 1.95 2005-06-08 03:41:46 anthonybaxter Exp $
22
'''Metakit backend for Roundup, originally by Gordon McMillan.
33
44
Known Current Bugs:
@@ -533,7 +533,7 @@ def get(self, nodeid, propname, default=_marker, cache=1):
533533
oldnode = self.uncommitted.get(id, None)
534534
if oldnode and oldnode.has_key(propname):
535535
raw = oldnode[propname]
536-
converter = _converters.get(rutyp.__class__, None)
536+
converter = _converters.get(raw.__class__, None)
537537
if converter:
538538
return converter(raw)
539539
return raw
@@ -1698,6 +1698,7 @@ def export_journals(self):
16981698
16991699
No heading here - the columns are fixed.
17001700
'''
1701+
from roundup.hyperdb import Interval, Date, Password
17011702
properties = self.getprops()
17021703
r = []
17031704
for nodeid in self.getnodeids():

0 commit comments

Comments
 (0)