--- a/src/ztfy/utils/catalog/__init__.py Tue Sep 11 16:26:38 2012 +0200
+++ b/src/ztfy/utils/catalog/__init__.py Thu Sep 13 10:56:25 2012 +0200
@@ -43,7 +43,9 @@
"""Look for a named IIntIds utility"""
if request is None:
request = request_utils.queryRequest()
- intids = request_utils.getRequestData('IntIdsUtility::' + name, request)
+ intids = None
+ if request is not None:
+ intids = request_utils.getRequestData('IntIdsUtility::' + name, request)
if intids is None:
intids = queryUtility(IIntIds, name, context=context)
if (request is not None) and (intids is not None):