[attributs] Changement mineurs
docstring de mailExt, et unicodification des hostCerts de certificat
This commit is contained in:
parent
285d35364a
commit
1d58240c6a
1 changed files with 2 additions and 2 deletions
|
@ -633,7 +633,7 @@ class mailExt(mail):
|
|||
singlevalue = False
|
||||
optional = True
|
||||
unique = True
|
||||
legend = u"Mail externe"
|
||||
legend = u"Mail de secours (optionnel)"
|
||||
can_modify = [soi, cableur, nounou]
|
||||
category = 'mail'
|
||||
ldap_name = "mailExt"
|
||||
|
@ -1625,7 +1625,7 @@ class certificat(Attr):
|
|||
|
||||
for hostname in [data['subject']['CN']] + data['extensions'].get('subjectAltName',[]):
|
||||
if hostname not in self.parent['hostCert']:
|
||||
self.parent['hostCert'].append(hostname)
|
||||
self.parent['hostCert'].append(unicode(hostname))
|
||||
|
||||
self.value = certificat
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue