summaryrefslogtreecommitdiffstats
path: root/ipalib/parameters.py
diff options
context:
space:
mode:
authorroot <root@webui.pzuna>2010-05-04 14:12:55 -0400
committerRob Crittenden <rcritten@redhat.com>2010-05-04 13:39:42 -0400
commita3d1b1755965c73a758acb1ec4992bf2428fa37b (patch)
tree0e37d6991e9269e0cd40c832e70ef93fe5e89bf9 /ipalib/parameters.py
parent3ea044fb59bf6ada2c0e9b507c1d6c4dfd8aaa23 (diff)
downloadfreeipa-a3d1b1755965c73a758acb1ec4992bf2428fa37b.tar.gz
freeipa-a3d1b1755965c73a758acb1ec4992bf2428fa37b.tar.xz
freeipa-a3d1b1755965c73a758acb1ec4992bf2428fa37b.zip
Add weekly periodic schedule to AccessTime param type.
Fix bug #588414
Diffstat (limited to 'ipalib/parameters.py')
-rw-r--r--ipalib/parameters.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipalib/parameters.py b/ipalib/parameters.py
index 612ec3297..589a092bf 100644
--- a/ipalib/parameters.py
+++ b/ipalib/parameters.py
@@ -1525,6 +1525,8 @@ class AccessTime(Str):
index = self._check_Y_spec(ts, 2)
elif ts[1] == 'monthly':
index = self._check_M_spec(ts, 2)
+ elif ts[1] == 'weekly':
+ index = self._check_W_spec(ts, 2)
elif ts[1] == 'daily':
index = 1
if index is None: