Ignore:
Timestamp:
09/07/12 15:25:20 (7 years ago)
Author:
mnagni
Message:

0.0.5

  • Fixed QueryTag?.queryWithRoleRequest bug when params_values[param.par_name] == None
  • Small refactoring removing code from os_request and creating with it in osqyery a method called createTemplateQuery
  • Refactored many "if item" to "if item is not None"
  • Rewritten atom.link and atom.person modules
File:
1 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/CedaMarkup/trunk/ceda_markup/atom/entry.py

    r8418 r8452  
    5555        markup.append(updated) 
    5656         
    57         if author: 
     57        if author is not None: 
    5858            if isinstance(author, list): 
    5959                extendElement(markup, author) 
     
    6161                markup.append(author)                
    6262                 
    63         if content: 
     63        if content is not None: 
    6464            markup.append(content) 
    6565             
     
    6767            markup.append(link) 
    6868                                             
    69         if published: 
     69        if published is not None: 
    7070            markup.append(published)                
    7171               
Note: See TracChangeset for help on using the changeset viewer.