Changeset 1166

Show
Ignore:
Timestamp:
07/16/08 09:21:18
Author:
liebster
Message:

fixed

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • qRSS2Syndication/branches/Plone3.1/utils.py

    r1165 r1166  
    1414    """ Save all needed RSS2 properties into 'syndication_information' """       
    1515    obj=aq_base(context) 
    16     status = 'success' 
    17     message = 'Your changes have been saved' 
    18  
    1916    syInfo = getattr(obj, 'syndication_information', None) 
    2017 
     
    3027        syInfo.itunes_image_url = itunes_image_url 
    3128        syInfo.itunes_explicit = itunes_explicit 
     29        status = 'success' 
     30        message = 'Your changes have been saved' 
     31 
    3232    return status, message 
    3333 
     
    7676        if include_subfolders == 0: 
    7777            args['sort_limit'] = articles_number 
    78             res=catalog.searchResults(args) 
     78        res=catalog.searchResults(args) 
     79        if include_subfolders == 0: 
    7980            for i in res : 
    8081                if i.getPath()[path_length:].find('/')<0: