projects
/
mirror
/
userdir-ldap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff28c29
)
Typo
author
Paul Wise
<pabs@debian.org>
Tue, 14 Jun 2016 02:31:43 +0000
(10:31 +0800)
committer
Paul Wise
<pabs@debian.org>
Tue, 14 Jun 2016 02:31:43 +0000
(10:31 +0800)
UDLdap.py
patch
|
blob
|
history
diff --git
a/UDLdap.py
b/UDLdap.py
index
cb7dfa4
..
f07ba36
100644
(file)
--- a/
UDLdap.py
+++ b/
UDLdap.py
@@
-88,7
+88,7
@@
class Account:
return self['accountStatus'] == 'active' and self.numkeys() != 0
def is_guest_account(self):
- return
supplementaryGid
in self and 'guest' in self['supplementaryGid']
+ return
'supplementaryGid'
in self and 'guest' in self['supplementaryGid']
def latitude_dec(self, anonymized=False):
return userdir_ldap.DecDegree(self['latitude'], anonymized)