mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-11-02 20:30:26 -06:00
Increase supported weeks per month from 4 to 6 in AccessTime() type
This commit is contained in:
1 parent
dbd1f50111
commit
4924270b45
1 file changed
+1
-1
@@ -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