Changeset 1846


Ignore:
Timestamp:
2 Jun 2007, 16:16:22 (18 years ago)
Author:
Henrik Bettermann
Message:

fix error (attention: this is not backwards compatible)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/WAeUPTool.py

    r1844 r1846  
    447447        info = {}
    448448        hall,block,room,letter = bed.split('_')
    449         res = ZCatalog.searchResults(self.portal_catalog,portal_type="AccoHall",id=hall)
     449        res = ZCatalog.searchResults(self.portal_catalog_real,portal_type="AccoHall",id=hall)
    450450        if res and len(res) == 1:
    451451            hall_brain = res[0]
     
    455455        info['hall_title'] = hall_brain.Title
    456456        info['maintenance_code'] = hall_doc.maintenance_code
    457         res = ZCatalog.searchResults(self.portal_catalog,portal_type="ScratchCardBatch")
     457        res = ZCatalog.searchResults(self.portal_catalog_real,portal_type="ScratchCardBatch")
    458458        batch_doc = None
    459459        for brain in res:
Note: See TracChangeset for help on using the changeset viewer.