Mercurial > p > roundup > code
comparison roundup/admin.py @ 7204:ccb0e566e0be
Add missing space in message; add tests; update .po
Testing for updateconfig updating password_pbkdf2_default_rounds.
Added missing space in one message and updated locale files as a
result.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 01 Mar 2023 12:56:36 -0500 |
| parents | 12a3cd86668f |
| children | 65b12a9dd11c |
comparison
equal
deleted
inserted
replaced
| 7203:12a3cd86668f | 7204:ccb0e566e0be |
|---|---|
| 589 ) | 589 ) |
| 590 config.PASSWORD_PBKDF2_DEFAULT_ROUNDS = default_ppdr | 590 config.PASSWORD_PBKDF2_DEFAULT_ROUNDS = default_ppdr |
| 591 | 591 |
| 592 if config.PASSWORD_PBKDF2_DEFAULT_ROUNDS < default_ppdr: | 592 if config.PASSWORD_PBKDF2_DEFAULT_ROUNDS < default_ppdr: |
| 593 print(_("Update " | 593 print(_("Update " |
| 594 "'password_pbkdf2_default_rounds'" | 594 "'password_pbkdf2_default_rounds' " |
| 595 "to a number equal to or larger\nthan %s.") % | 595 "to a number equal to or larger\nthan %s.") % |
| 596 default_ppdr) | 596 default_ppdr) |
| 597 else: | 597 else: |
| 598 # generate default config | 598 # generate default config |
| 599 config = CoreConfig() | 599 config = CoreConfig() |
