comparison MoinMoin/macro/AttachInfo.py @ 3244:886b8969dbc6

fix some unit tests
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Wed, 12 Mar 2008 01:08:43 +0100
parents 03b3c6fd70e3
children
comparison
equal deleted inserted replaced
3243:1ad6243cdf06 3244:886b8969dbc6
13 13
14 def macro_AttachInfo(macro, pagename=None): 14 def macro_AttachInfo(macro, pagename=None):
15 """ generates info how much attachments stored on a page """ 15 """ generates info how much attachments stored on a page """
16 if not pagename: 16 if not pagename:
17 pagename = macro.formatter.page.page_name 17 pagename = macro.formatter.page.page_name
18 18
19 return info(pagename, macro.request) 19 return info(pagename, macro.request)
20 20
21 21