Attachment 'EventCalendar-099.py.patch'
Download 1 --- EventCalendar-099.py 2008-02-14 14:01:22.000000000 +0900
2 +++ EventCalendar.py 2008-02-14 14:00:16.000000000 +0900
3 @@ -156,7 +156,7 @@
4
5 from MoinMoin import wikiutil, config, search, caching
6 from MoinMoin.Page import Page
7 -from MoinMoin.parser import wiki
8 +#from MoinMoin.parser import wiki
9 import re, calendar, time, datetime
10 import codecs, os, urllib, sha
11
12 @@ -1422,10 +1422,10 @@
13 categorypages = searchPages(request, category)
14 for page in categorypages:
15 eventpages.append(page.page_name)
16 - cache_pages.update('\n'.join(eventpages), True)
17 + cache_pages.update('\n'.join(eventpages).encode('utf-8'))
18 debug('New page list is built: %d pages' % len(eventpages))
19 else:
20 - eventpages = cache_pages.content(True).split('\n')
21 + eventpages = cache_pages.content().decode('utf-8').split('\n')
22 debug('Cached page list is used: %d pages' % len(eventpages))
23
24 if not Globs.page_action == 'refresh':
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.