[sagenb] 35/179: fixed a syntax error
felix salfelder
felix-guest at moszumanska.debian.org
Tue May 6 12:05:07 UTC 2014
This is an automated email from the git hooks/post-receive script.
felix-guest pushed a commit to branch master
in repository sagenb.
commit e96171231804eb0aeaaece902bdaa833b8a9535b
Author: Robin Martinjak <rob at rmartinjak.de>
Date: Fri Nov 2 14:11:20 2012 +0100
fixed a syntax error
---
sagenb/notebook/auth.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sagenb/notebook/auth.py b/sagenb/notebook/auth.py
index f6fff51..1daf601 100644
--- a/sagenb/notebook/auth.py
+++ b/sagenb/notebook/auth.py
@@ -158,7 +158,7 @@ class LdapAuth(AuthMethod):
def get_attrib(self, username, attrib):
# 'translate' attribute names used in ExtAuthUserManager to their ldap equivalents
# "email" is "mail"
- if attrib == 'email'
+ if attrib == 'email':
attrib = 'mail'
dn, attribs = self._get_ldapuser(username, [attrib])
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagenb.git
More information about the debian-science-commits
mailing list