Mercurial > public > src > moin > extensions
diff data/plugin/parser/text_x_arnica.py @ 234:74b073ba10b3
text_x_arnica: added docstring to _get_files
author | Reimar Bauer <rb.proj AT googlemail DOT com> |
---|---|
date | Tue, 02 Sep 2008 10:59:23 +0200 |
parents | ecda36d19fb8 |
children | 0094dc7c27f3 |
line wrap: on
line diff
--- a/data/plugin/parser/text_x_arnica.py Tue Sep 02 10:52:26 2008 +0200 +++ b/data/plugin/parser/text_x_arnica.py Tue Sep 02 10:59:23 2008 +0200 @@ -83,7 +83,9 @@ return locals() def _get_files(request, pagename): - # get files dependent on isPicture and ignores tmp. files + """ get files dependent on isPicture and ignores tmp. files + @param pagename: name of the page where to get attachments + """ # ToDo remove tmp. files check later files = AttachFile._get_files(request, pagename) files = [fn for fn in files if wikiutil.isPicture(fn) and not fn.startswith('tmp.')]