Skip to content

Commit 7a035a8

Browse files
committed
Computed needs to be hyperdb.Computed. Symbol not imported in anydbm like it is in rdbms.
1 parent 14d8691 commit 7a035a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roundup/backends/back_anydbm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ def get(self, nodeid, propname, default=_marker, cache=1):
11461146
# get the property (raises KeyErorr if invalid)
11471147
prop = self.properties[propname]
11481148

1149-
if isinstance(prop, Computed):
1149+
if isinstance(prop, hyperdb.Computed):
11501150
return prop.function(prop, nodeid, self.db)
11511151

11521152
if isinstance(prop, hyperdb.Multilink) and prop.computed:

0 commit comments

Comments
 (0)