[attributs.certificat] Un %s dans la chaine de caractère
This commit is contained in:
parent
f64cda3711
commit
1c24cceb07
1 changed files with 1 additions and 1 deletions
|
@ -1939,7 +1939,7 @@ class hostCert(dnsAttr):
|
|||
# alias migrent vers des vm)
|
||||
if not "machineCrans" in self.parent.machine()["objectClass"]:
|
||||
if not host in self.parent.machine()['host'] + self.parent.machine()['hostAlias']:
|
||||
raise ValueError("hostCert (%s) doit être inclus dans les host et hostAlias de la machine parente : %s ou %s" % (str(host), ', '.join(str(item) for item in self.parent.machine()['host'] + self.parent.machine()['hostAlias'])))
|
||||
raise ValueError("hostCert (%s) doit être inclus dans les host et hostAlias de la machine parente : %s" % (str(host), ', '.join(str(item) for item in self.parent.machine()['host'] + self.parent.machine()['hostAlias'])))
|
||||
self.value = host
|
||||
|
||||
@crans_attribute
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue