diff MoinMoin/config/multiconfig.py @ 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 ac61d43c1c5a
children 95dc19f1ea75 641b595ce675
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.'),
     )),
 }