Browse Source

Fix repo names.

tags/v1.0^2
Ben Kurtovic 10 years ago
parent
commit
11b460eaa0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      bitshift/crawler/crawler.py

+ 2
- 2
bitshift/crawler/crawler.py View File

@@ -86,8 +86,8 @@ class GitHubCrawler(threading.Thread):
time.sleep(1) time.sleep(1)


self.clone_queue.put(indexer.GitRepository( self.clone_queue.put(indexer.GitRepository(
repo["html_url"], repo["full_name"].replace("/", ""),
"GitHub", repo_ranks[repo["full_name"]]))
repo["html_url"], repo["full_name"], "GitHub",
repo_ranks[repo["full_name"]]))


if int(resp.headers["x-ratelimit-remaining"]) == 0: if int(resp.headers["x-ratelimit-remaining"]) == 0:
time.sleep(int(resp.headers["x-ratelimit-reset"]) - time.sleep(int(resp.headers["x-ratelimit-reset"]) -


Loading…
Cancel
Save