瀏覽代碼

Use the branch name.

tags/v1.0^2
Ben Kurtovic 10 年之前
父節點
當前提交
782b9b9faf
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      bitshift/crawler/indexer.py

+ 1
- 1
bitshift/crawler/indexer.py 查看文件

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

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]
elif repo.framework_name == "Bitbucket":
try:


Loading…
取消
儲存