Skip to content

Commit fed4174

Browse files
committed
Fix flake8 errors
1 parent 3cf34f7 commit fed4174

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

coriolisclient/cli/transfers.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@
3434
def _add_default_deployment_args_to_parser(parser):
3535
cd_group = parser.add_mutually_exclusive_group()
3636
cd_group.add_argument('--clone-disks',
37-
help='Retain the transfer disks by cloning them '
38-
'when launching deployment',
39-
action='store_true', dest="clone_disks",
40-
default=None)
37+
help='Retain the transfer disks by cloning them '
38+
'when launching deployment',
39+
action='store_true', dest="clone_disks",
40+
default=None)
4141
cd_group.add_argument('--dont-clone-disks',
42-
help="Deploy directly on transfer disks, without "
43-
"cloning them.",
44-
action="store_false", dest="clone_disks",
45-
default=None)
42+
help="Deploy directly on transfer disks, without "
43+
"cloning them.",
44+
action="store_false", dest="clone_disks",
45+
default=None)
4646

4747
osm_group = parser.add_mutually_exclusive_group()
4848
osm_group.add_argument('--os-morphing',

coriolisclient/v1/transfer_executions.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ def get(self, transfer, execution):
4646
'execution')
4747

4848
def create(self, transfer, shutdown_instances=False, auto_deploy=False):
49-
data = {"execution":
50-
{"shutdown_instances": shutdown_instances,
51-
"auto_deploy": auto_deploy}}
49+
data = {"execution": {
50+
"shutdown_instances": shutdown_instances,
51+
"auto_deploy": auto_deploy}}
5252
return self._post(
5353
'/transfers/%s/executions' %
5454
base.getid(transfer), data, 'execution')

0 commit comments

Comments
 (0)