changeset 4575:bc0ad5554ab0

backup action: add 'self' dummy argument for backup_exclude function
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 14 Feb 2009 22:21:34 +0100
parents 9a34e851b8bb
children 95dc19f1ea75 b0319cfcb1bc
files MoinMoin/config/multiconfig.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/config/multiconfig.py	Sat Feb 14 18:07:36 2009 +0100
+++ b/MoinMoin/config/multiconfig.py	Sat Feb 14 22:21:34 2009 +0100
@@ -1202,7 +1202,7 @@
       ('compression', 'gz', 'What compression to use for the backup ("gz" or "bz2").'),
       ('users', [], 'List of trusted user names who are allowed to get a backup.'),
       ('include', [], 'List of pathes to backup.'),
-      ('exclude', lambda filename: False, 'Function f(filename) that tells whether a file should be excluded from backup. By default, nothing is excluded.'),
+      ('exclude', lambda self, filename: False, 'Function f(self, filename) that tells whether a file should be excluded from backup. By default, nothing is excluded.'),
     )),
 }