Skip to content

Commit

Permalink
W:158:Create.wait_for_discovery: Unused variable 'task'
Browse files Browse the repository at this point in the history
  • Loading branch information
xsuchy committed Jul 14, 2011
1 parent 6b30d33 commit b774530
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cli/src/katello/client/core/repo.py
Expand Up @@ -155,7 +155,6 @@ def __print_urls(self, repourls):
print "(-) [%s] %-5s" % (index+1, url)

def wait_for_discovery(self, discoveryTask):
task = discoveryTask
while discoveryTask['state'] not in ('finished', 'error', 'timed out', 'canceled'):
time.sleep(0.25)
discoveryTask = self.api.repo_discovery_status(discoveryTask['id'])
Expand Down

0 comments on commit b774530

Please sign in to comment.