Cleanup some style
This commit is contained in:
parent
74e2c19865
commit
c1f224954e
7 changed files with 28 additions and 16 deletions
|
|
@ -100,7 +100,7 @@ class FakeJobFlow(object):
|
|||
def master_instance_type(self):
|
||||
groups = self.instance_groups
|
||||
if groups:
|
||||
groups[0].type
|
||||
return groups[0].type
|
||||
else:
|
||||
return self.initial_master_instance_type
|
||||
|
||||
|
|
@ -108,7 +108,7 @@ class FakeJobFlow(object):
|
|||
def slave_instance_type(self):
|
||||
groups = self.instance_groups
|
||||
if groups:
|
||||
groups[0].type
|
||||
return groups[0].type
|
||||
else:
|
||||
return self.initial_slave_instance_type
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue