projects
/
contrib
/
Conifer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8476b3e
)
Update profile mappings for faculty and grads
author
Dan Scott
<dscott@laurentian.ca>
Thu, 12 Jan 2017 21:22:11 +0000
(16:22 -0500)
committer
Dan Scott
<dscott@laurentian.ca>
Thu, 12 Jan 2017 21:29:05 +0000
(16:29 -0500)
Signed-off-by: Dan Scott <dscott@laurentian.ca>
tools/patron-load/ldap_osrf_sync
patch
|
blob
|
history
diff --git
a/tools/patron-load/ldap_osrf_sync
b/tools/patron-load/ldap_osrf_sync
index
cf104da
..
929732c
100755
(executable)
--- a/
tools/patron-load/ldap_osrf_sync
+++ b/
tools/patron-load/ldap_osrf_sync
@@
-138,7
+138,7
@@
class User:
if exp_att:
expiry_date = "%s-%s-%s" % (exp_att[:4], exp_att[4:6], exp_att[6:8])
# Faculty and staff get a long time
- elif self.profile == 11
or self.profile == 14
:
+ elif self.profile == 11
1 or self.profile == 115
:
expiry_date = '%d-09-30' % (datetime.date.today().year + 8)
# Expire the visiting students Sept. 30th
elif self.affiliation == 'visitor':