view MoinMoin/macro/ @ 6133:a6283e189869 default tip

fixup: remove nonexisting passlib.utils._blowfish this was removed by the passlib 1.7.1 upgrade.
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 01 Jun 2017 18:10:19 +0200
parents 886b8969dbc6
line wrap: on
line source

    MoinMoin - AttachInfo Macro

    A macro to produce information about attached pages

    Usage: <<AttachInfo>>

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

from MoinMoin.action.AttachFile import info

def macro_AttachInfo(macro, pagename=None):
    """ generates info how much attachments stored on a page """
    if not pagename:
        pagename =

    return info(pagename, macro.request)