[script][mailman] correct error message
This commit is contained in:
parent
63f499f13c
commit
61a71b7051
@ -16,7 +16,7 @@ def getListUser(listName):
|
|||||||
(stdout, stderr) = proc.communicate()
|
(stdout, stderr) = proc.communicate()
|
||||||
ret = proc.returncode
|
ret = proc.returncode
|
||||||
if ret != 0:
|
if ret != 0:
|
||||||
print "error when checking user %s list %s : %s"%(user, listName, stderr)
|
print "error when checking list %s : %s"%(listName, stderr)
|
||||||
return []
|
return []
|
||||||
return stdout.split('\n')
|
return stdout.split('\n')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user