mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Increase supported weeks per month from 4 to 6 in AccessTime() type
This commit is contained in:
@@ -1423,7 +1423,7 @@ class AccessTime(Str):
|
||||
if not t.isnumeric():
|
||||
raise ValueError('week of the month non-numeric')
|
||||
value = int(t)
|
||||
if value < 1 or value > 4:
|
||||
if value < 1 or value > 6:
|
||||
raise ValueError('week of the month out of range')
|
||||
|
||||
def _check_woty(self, t):
|
||||
|
||||
Reference in New Issue
Block a user