Skip to content

Commit

Permalink
made vocab. aquisition changes work with unittests
Browse files Browse the repository at this point in the history
  • Loading branch information
zopyx committed Aug 8, 2001
1 parent a4961bb commit eb1c45b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ZCatalog.py
Expand Up @@ -830,8 +830,7 @@ def addIndex(self, name, type,extra=None):
# an "extra" record.

if 'extra' in base.__init__.func_code.co_varnames:
extra.catalog = self
index = apply(base,(name,), {"extra":extra})
index = apply(base,(name,), {"extra":extra,"caller":self})
else:
index = base(name,self)

Expand Down

0 comments on commit eb1c45b

Please sign in to comment.