fix flake8

This commit is contained in:
Terry Cain 2017-10-05 00:09:10 +01:00
parent 0ca3fcc7a2
commit 6eb755029c
No known key found for this signature in database
GPG Key ID: 14D90844E4E9B9F3

View File

@ -243,7 +243,7 @@ class BatchBackend(BaseBackend):
def get_job_definition_by_arn(self, arn):
return self._job_definitions.get(arn)
def get_job_definition_by_name(self, name):#
def get_job_definition_by_name(self, name):
for comp_env in self._job_definitions.values():
if comp_env.name == name:
return comp_env