comparison MoinMoin/config/multiconfig.py @ 3322:dd519c814149

*sigh*. fix pep8 in multiconfig
author Johannes Berg <johannes AT sipsolutions DOT net>
date Wed, 19 Mar 2008 03:49:51 +0100
parents e66f55d0076d
children 38cbacf3cbc4
comparison
equal deleted inserted replaced
3321:8a54a5512c86 3322:dd519c814149
506 506
507 507
508 def password_checker(username, password): 508 def password_checker(username, password):
509 """ Check if a password is secure enough. 509 """ Check if a password is secure enough.
510 We use a built-in check to get rid of the worst passwords. 510 We use a built-in check to get rid of the worst passwords.
511 511
512 We do NOT use cracklib / python-crack here any more because it is 512 We do NOT use cracklib / python-crack here any more because it is
513 not thread-safe (we experienced segmentation faults when using it). 513 not thread-safe (we experienced segmentation faults when using it).
514 514
515 If you don't want to check passwords, use password_checker = None. 515 If you don't want to check passwords, use password_checker = None.
516 516