Changeset 2982

Show
Ignore:
Timestamp:
01/04/08 21:25:55 (8 months ago)
Author:
athomas
Message:

ChangeLogMacro? works in 0.11 now.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • changelogplugin/0.11/changelog.py

    r2981 r2982  
    88 
    99 
    10 class SourceLogMacro(WikiMacroBase): 
     10class ChangeLogMacro(WikiMacroBase): 
    1111    """ Provides the macro 
     12 
    1213    {{{ 
    13        [[SourceLog(path[,limit[,rev]])]] 
     14       [[ChangeLog(path[,limit[,rev]])]] 
    1415    }}} 
     16 
    1517    which dumps the change log for path of revision rev, back 
    1618    limit revisions. "rev" can be 0 for the latest revision. 
     19 
     20    limit and rev may be keyword arguments 
    1721    """ 
    1822 
     
    2125        args, kwargs = parse_args(content) 
    2226        args += [None, None] 
    23         path, limit, rev = args 
     27        path, limit, rev = args[:3] 
    2428        limit = kwargs.pop('limit', limit) 
    2529        rev = kwargs.pop('rev', rev)