1 """
2 MoinMoin - FileList Macro
3
4 Written by Jacob Cohen.
5 Last name at rafb.net will reach me.
6
7 A macro to produce the file listing that appears on the AttachFile action
8
9 Usage: [[FileList]]
10
11 """
12
13 from MoinMoin.action.AttachFile import _get_filelist
14
15 def execute(macro, args):
16 result = _get_filelist(macro.request, macro.formatter.page.page_name);
17 return result