execvp passes pep8

This commit is contained in:
Eric Windisch
2011-03-09 15:33:20 -05:00
parent 23369a63f4
commit fc9840bae6
6 changed files with 30 additions and 23 deletions

View File

@@ -112,7 +112,7 @@ class VolumeDriver(object):
# If the volume isn't present, then don't attempt to delete
return True
self._try_execute('sudo', 'lvremove', '-f',"%s/%s" %
self._try_execute('sudo', 'lvremove', '-f', "%s/%s" %
(FLAGS.volume_group,
volume['name']))
@@ -256,7 +256,7 @@ class ISCSIDriver(VolumeDriver):
self._sync_exec('sudo', 'ietadm', '--op', 'new',
"--tid=%s" % iscsi_target,
'--params',
"Name=%s" % iscsi-name,
"Name=%s" % iscsi_name,
check_exit_code=False)
self._sync_exec('sudo', 'ietadm', '--op', 'new',
"--tid=%s" % iscsi_target,