Changeset 666

Show
Ignore:
Timestamp:
11/28/06 11:28:30
Author:
chervol
Message:

converted max_items to integer

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • qRSS2Syndication/trunk/utils.py

    r665 r666  
    99                    articles_number = 20, 
    1010                    REQUEST = None): 
    11     """ Save all needed RSS2 properties into 'syndication_information' """      
     11    """ Save all needed RSS2 properties into 'syndication_information' """ 
    1212    obj=aq_base(context) 
    1313    status = 'success' 
     
    2222    syInfo.only_published = only_published 
    2323    syInfo.include_subfolders = include_subfolders 
    24     syInfo.max_items = articles_number 
     24    syInfo.max_items = int(articles_number) 
    2525    return status, message 
    2626