comparison MoinMoin/converter/archive_in.py @ 1414:614005b5edb3

fixed some .format() unicode issues, partially fixing bug #124
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 07 Jul 2012 20:22:21 +0200
parents 4ac437141bbe
children bff62fea804a
comparison
equal deleted inserted replaced
1413:caa408751799 1414:614005b5edb3
36 def _factory(cls, input, output, **kw): 36 def _factory(cls, input, output, **kw):
37 return cls() 37 return cls()
38 38
39 def process_name(self, member_name): 39 def process_name(self, member_name):
40 attrib = { 40 attrib = {
41 xlink.href: Iri(scheme='wiki', authority='', path='/'+self.item_name, query='do=get&member={0}'.format(member_name)), 41 xlink.href: Iri(scheme='wiki', authority='', path='/'+self.item_name, query=u'do=get&member={0}'.format(member_name)),
42 } 42 }
43 return moin_page.a(attrib=attrib, children=[member_name, ]) 43 return moin_page.a(attrib=attrib, children=[member_name, ])
44 44
45 def process_datetime(self, dt): 45 def process_datetime(self, dt):
46 return dt.isoformat() 46 return dt.isoformat()