Discard raise error if absend ldap.conf file.

develop
Mike Hiretsky 13 years ago
parent a54087b520
commit e19b3b87f5

@ -99,7 +99,7 @@ class ldapUser(_error):
dictData[name].append(line.rpartition(spl)[2].\
strip())
except:
self.setError(_("Can not open %s")%fileName)
#self.setError(_("Can not open %s")%fileName)
return False
if set(dictData.keys()) == set(namesData):
# Кеширование данных
@ -238,4 +238,4 @@ class ldapUser(_error):
# Устанавливаем у объекта соединение и объект LDAP функций
self.ldapObj = ldapObj
self.conLdap = ldapObj.conLdap
return True
return True

Loading…
Cancel
Save