Optimize job.dependency

job.refresh has been call in job.fetch
main
liangsijian 8 years ago committed by GitHub
parent 8ebebc9f7c
commit 4875331b60

@ -191,7 +191,6 @@ class Job(object):
if hasattr(self, '_dependency'): if hasattr(self, '_dependency'):
return self._dependency return self._dependency
job = self.fetch(self._dependency_id, connection=self.connection) job = self.fetch(self._dependency_id, connection=self.connection)
job.refresh()
self._dependency = job self._dependency = job
return job return job

Loading…
Cancel
Save