Changeset ee6f4c in indico


Ignore:
Timestamp:
08/23/11 15:38:46 (21 months ago)
Author:
Jose Benito <jose.benito.gonzalez@…>
Branches:
master, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
Children:
bebbda
Parents:
25f189
git-author:
Adrian Moennich <jerome.ernst.monnich@…> (05/06/11 11:16:28)
git-committer:
Jose Benito <jose.benito.gonzalez@…> (08/23/11 15:38:46)
Message:

[FIX] use explicit is not None check for results

File:
1 edited

Legend:

Unmodified
Added
Removed
  • indico/web/http_api/handlers.py

    r25f189 ree6f4c  
    121121            dbi.endRequest(False) 
    122122 
    123         if results: 
     123        if results is not None: 
    124124            serializer = Serializer.create(dformat, pretty=pretty, **remove_lists(qdata)) 
    125125            resultFossil = fossilize(HTTPAPIResult(results)) 
Note: See TracChangeset for help on using the changeset viewer.