Comment 7 for bug 666297

Revision history for this message
Jim B. Glenn (jimbglenn) wrote :

[oxfam@karlhost01 current]$ bin/debug
Python 2.5.5 (r255:77872, Jun 7 2010, 14:10:57)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] on linux2
Type "help" for more information. "root" is the karl root object.
>>> from karl.models.interfaces import ICatalogSearch
>>> s = ICatalogSearch(root)
>>> count, docids, resolver = s(creator='kuhlermckeown')
>>> for doc in [resolver(x) for x in docids]:
... print model_path(doc)
...
Traceback (most recent call last):
  File "<console>", line 2, in <module>
NameError: name 'model_path' is not defined
>>>