mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] remove unused variable
This commit is contained in:
parent
061b6bbcce
commit
4420cc300a
1 changed files with 2 additions and 2 deletions
|
@ -229,8 +229,8 @@ def service_status(names=[]):
|
|||
|
||||
# Retrieve service status
|
||||
try:
|
||||
ret = subprocess.check_output(status, stderr=subprocess.STDOUT,
|
||||
shell=True)
|
||||
subprocess.check_output(status, stderr=subprocess.STDOUT,
|
||||
shell=True)
|
||||
except subprocess.CalledProcessError as e:
|
||||
if 'usage:' in e.output.lower():
|
||||
logger.warning(m18n.n('service_status_failed', service=name))
|
||||
|
|
Loading…
Add table
Reference in a new issue