tweak indentation for 'make pep8'

This commit is contained in:
Michael DeHaan 2013-07-20 12:47:46 -04:00
parent 4281f773bb
commit 6030c1bcaa
2 changed files with 10 additions and 5 deletions

View file

@ -292,7 +292,7 @@ def main():
APT_GET_CMD = module.get_bin_path("apt-get")
if not APTITUDE_CMD:
module.fail_json(msg="Could not find aptitude. Please ensure it is installed.")
module.fail_json(msg="Could not find aptitude. Please ensure it is installed.")
p = module.params
install_recommends = p['install_recommends']

View file

@ -98,10 +98,15 @@ def main():
password = module.params.get('password')
supervisorctl_args = [ module.get_bin_path('supervisorctl', True) ]
if config: supervisorctl_args.extend(['-c', config])
if server_url: supervisorctl_args.extend(['-s', server_url])
if username: supervisorctl_args.extend(['-u', username])
if password: supervisorctl_args.extend(['-p', password])
if config:
supervisorctl_args.extend(['-c', config])
if server_url:
supervisorctl_args.extend(['-s', server_url])
if username:
supervisorctl_args.extend(['-u', username])
if password:
supervisorctl_args.extend(['-p', password])
def run_supervisorctl(cmd, name=None, **kwargs):
args = list(supervisorctl_args) # copy the master args