This commit is contained in:
Frédéric Péters 2011-10-19 19:20:23 +02:00
parent 6cf0433ed0
commit 313c2adbb6
1 changed files with 1 additions and 1 deletions

View File

@ -470,7 +470,7 @@ class FixRelatedDocs(BrowserView):
class UpdateToBlobs(BrowserView):
def __call__(self):
catalog = getToolByName(self.context, 'portal_catalog')
for brain in catalog.search({'portal_type': ['bqrD', 'bulletintravauxD'}):
for brain in catalog.search({'portal_type': ['bqrD', 'bulletintravauxD']}):
object = brain.getObject()
for attr in ("fichier", "document_imprime"):
try: