view MoinMoin/macro/ @ 950:4eb66637ccd0

whitespace-only cleanup, small style changes
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 17 Jul 2006 04:27:24 +0200
parents 77665d8e2254
children 5b15b6e010cf
line wrap: on
line source

    MoinMoin - AttachList Macro

    A macro to produce a list of attached pages

    Usage: [[AttachList]]

    @copyright: 2004 Jacob Cohen, Nigel Metheringham
    @license: GNU GPL, see COPYING for details.

from MoinMoin.action.AttachFile import _build_filelist

def execute(macro, args):
    pagename =
    if args:
        pagename = args
    result = _build_filelist(macro.request, pagename, 0, 1)
    return result