removed unnecessary .format()
This commit is contained in:
parent
af4b1c1def
commit
dc74ca23a6
@ -20,7 +20,7 @@ class FedoraSchedule():
|
|||||||
return tasks_so_far
|
return tasks_so_far
|
||||||
|
|
||||||
def _get_schedule(self):
|
def _get_schedule(self):
|
||||||
release_schedule_url = f"{self.schedule_url.format(self.release_version)}/f-{self.release_version}/f-{self.release_version}-key.json"
|
release_schedule_url = f"{self.schedule_url}/f-{self.release_version}/f-{self.release_version}-key.json"
|
||||||
schedule_json = json.loads(requests.get(release_schedule_url).content)
|
schedule_json = json.loads(requests.get(release_schedule_url).content)
|
||||||
tasks = self._parse_tasks(schedule_json['tasks'])
|
tasks = self._parse_tasks(schedule_json['tasks'])
|
||||||
return tasks
|
return tasks
|
||||||
|
Loading…
Reference in New Issue
Block a user