Changeset 5bda88 in indico


Ignore:
Timestamp:
03/31/11 17:51:47 (2 years ago)
Author:
Pedro Ferreira <jose.pedro.ferreira@…>
Branches:
master, burotel, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
Children:
5caf3d
Parents:
341979
Message:

[FIX] Livesync - export script working again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • indico/ext/livesync/console.py

    rc265b5 r5bda88  
    149149            dbi.abort() 
    150150 
    151         yield elem, operation 
     151        yield elem, '', operation 
    152152 
    153153 
     
    203203                nbatch = 0 
    204204                batch = [] 
    205                 for record, operation in _wrapper(_only_second(iterator), 
     205                for record, rid, operation in _wrapper(_only_second(iterator), 
    206206                                                  agent._creationState, 
    207207                                                  self._dbi): 
     
    212212                        batch = [] 
    213213 
    214                     batch.append((record, operation)) 
     214                    batch.append((record, rid, operation)) 
    215215 
    216216                if batch: 
Note: See TracChangeset for help on using the changeset viewer.