~edwargix/git.sr.ht

5b547f4af88027925116981b758745d01b023f12 — Drew DeVault 6 years ago 89ae3e2
Fix 500's on bots crawling some repos
1 files changed, 1 insertions(+), 1 deletions(-)

M gitsrht/blueprints/repo.py
M gitsrht/blueprints/repo.py => gitsrht/blueprints/repo.py +1 -1
@@ 150,7 150,7 @@ def tree(owner, repo, ref, path):
        for part in path:
            if part == "":
                continue
            if part not in tree:
            if not tree or part not in tree:
                abort(404)
            entry = tree[part]
            if entry.type == "blob":