Correction de bug commands.py
This commit is contained in:
parent
b2233550a1
commit
21a38659d5
|
@ -50,7 +50,7 @@ def cmdmainteneur(owners, nick, text, store):
|
|||
host = splittedtext[1]
|
||||
|
||||
return "le responsable de cette machine est " \
|
||||
+ store.knownHosts[host]["maintainer"]
|
||||
+ store.knownHosts[host].maintainer
|
||||
|
||||
if len(splittedtext) == 3:
|
||||
host = splittedtext[1]
|
||||
|
@ -66,9 +66,9 @@ def cmdmainteneur(owners, nick, text, store):
|
|||
log.error(repr(e))
|
||||
return "machine inconnue (tout le monde est son mainteneur)"
|
||||
|
||||
except Exception as e:
|
||||
log.error(repr(e))
|
||||
return "erreur à l'exécution"
|
||||
# except Exception as e:
|
||||
# log.error(repr(e))
|
||||
# return "erreur à l'exécution"
|
||||
|
||||
return "Syntaxe invalide"
|
||||
|
||||
|
|
Loading…
Reference in New Issue