Mercurial > moin > 1.9
changeset 5997:6de72050e1b9
rss_rc action: use unicode to fix python 2.7.5 compatibility
author | Thomas Waldmann <tw AT waldmann-edv DOT de> |
---|---|
date | Wed, 12 Jun 2013 12:19:50 +0200 |
parents | 524db6237b48 |
children | 603cb1f82ae1 |
files | MoinMoin/action/rss_rc.py |
diffstat | 1 files changed, 28 insertions(+), 28 deletions(-) [+] |
line wrap: on
line diff
--- a/MoinMoin/action/rss_rc.py Sun Jun 09 16:35:56 2013 +0200 +++ b/MoinMoin/action/rss_rc.py Wed Jun 12 12:19:50 2013 +0200 @@ -174,34 +174,34 @@ # start SAX stream handler.startDocument() handler._write( - '<!--\n' - ' Add an "items=nnn" URL parameter to get more than the \n' - ' default %(def_max_items)d items. You cannot get more than \n' - ' %(items_limit)d items though.\n' - ' \n' - ' Add "unique=1" to get a list of changes where page names are unique,\n' - ' i.e. where only the latest change of each page is reflected.\n' - ' \n' - ' Add "diffs=1" to add change diffs to the description of each items.\n' - ' \n' - ' Add "ddiffs=1" to link directly to the diff (good for FeedReader).\n' - ' \n' - ' Add "lines=nnn" to change maximum number of diff/body lines \n' - ' to show. Cannot be more than %(lines_limit)d.\n' - ' \n' - ' Add "show_att=1" to show items related to attachments.\n' - ' \n' - ' Add "page=pattern" to show feed only for specific pages.\n' - ' Pattern can be empty (it would match to all pages), \n' - ' can start with circumflex (it would be interpreted as \n' - ' regular expression in this case), end with slash (for \n' - ' getting feed for page tree) or point to specific page (if \n' - ' none of the above can be applied).\n' - ' \n' - ' Current settings: items=%(max_items)i, unique=%(unique)i, \n' - ' diffs=%(diffs)i, ddiffs=%(ddiffs)i, lines=%(max_lines)i, \n' - ' show_att=%(show_att)i\n' - '-->\n' % locals() + u'<!--\n' + u' Add an "items=nnn" URL parameter to get more than the \n' + u' default %(def_max_items)d items. You cannot get more than \n' + u' %(items_limit)d items though.\n' + u' \n' + u' Add "unique=1" to get a list of changes where page names are unique,\n' + u' i.e. where only the latest change of each page is reflected.\n' + u' \n' + u' Add "diffs=1" to add change diffs to the description of each items.\n' + u' \n' + u' Add "ddiffs=1" to link directly to the diff (good for FeedReader).\n' + u' \n' + u' Add "lines=nnn" to change maximum number of diff/body lines \n' + u' to show. Cannot be more than %(lines_limit)d.\n' + u' \n' + u' Add "show_att=1" to show items related to attachments.\n' + u' \n' + u' Add "page=pattern" to show feed only for specific pages.\n' + u' Pattern can be empty (it would match to all pages), \n' + u' can start with circumflex (it would be interpreted as \n' + u' regular expression in this case), end with slash (for \n' + u' getting feed for page tree) or point to specific page (if \n' + u' none of the above can be applied).\n' + u' \n' + u' Current settings: items=%(max_items)i, unique=%(unique)i, \n' + u' diffs=%(diffs)i, ddiffs=%(ddiffs)i, lines=%(max_lines)i, \n' + u' show_att=%(show_att)i\n' + u'-->\n' % locals() ) # emit channel description