Changeset 156221 in indico


Ignore:
Timestamp:
03/31/11 22:50:29 (2 years ago)
Author:
Jose Benito <jose.benito.gonzalez@…>
Branches:
master, burotel, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, b8c30da8ebdbdcbd675a873997cc3e95f567de49, 4287315ec967a3da168d83963c14001db8487d53
Children:
ce1a67a
Parents:
2edd67
Message:

[FIX] re-fix previous fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • indico/htdocs/scripts/export.py

    r2edd67 r156221  
    8383      type = conf.getType() 
    8484      if type in event_types: 
    85         finalres.append(confId) 
     85        finalres.append(conf) 
    8686  else: 
    8787    finalres = res 
     
    9797        confroom = conf.getRoom().getName() 
    9898        if confroom in rooms: 
    99           finalres.append(confId) 
     99          finalres.append(conf) 
    100100  else: 
    101101    finalres = res 
     
    103103  #ch = ConferenceHolder() 
    104104  if not protected: 
    105     for id in finalres: 
     105    #for id in finalres: 
    106106      #conf = ch.getById(id) 
     107    for conf in finalres: 
    107108      if conf.isProtected(): 
    108         finalres.remove(id) 
     109        finalres.remove(conf) 
    109110  if of=='xml': 
    110111    req.content_type="text/xml" 
Note: See TracChangeset for help on using the changeset viewer.