Browse Source

Use the branch name.

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

+ 1
- 1
bitshift/crawler/indexer.py View File

@@ -186,7 +186,7 @@ class GitIndexer(threading.Thread):
""" """


if repo.framework_name == "GitHub": if repo.framework_name == "GitHub":
default_branch = repo.repo.active_branch
default_branch = repo.repo.active_branch.name
parts = [repo.url, "blob", default_branch, filename] parts = [repo.url, "blob", default_branch, filename]
elif repo.framework_name == "Bitbucket": elif repo.framework_name == "Bitbucket":
try: try:


Loading…
Cancel
Save