~edwargix/git.sr.ht

fd2784eb6b64fee5ca945bd97c78f1ae60bef185 — Drew DeVault 6 years ago 793612d
Fix commit substitution
1 files changed, 1 insertions(+), 1 deletions(-)

M gitsrht/worker.py
M gitsrht/worker.py => gitsrht/worker.py +1 -1
@@ 59,7 59,7 @@ def submit_builds(repo, git_repo, commit):
        m = Manifest(yaml.safe_load(m))
        if m.sources:
            m.sources = [source if os.path.basename(source) != repo.name
                    else source + "#" + str(ref) for source in m.sources]
                    else source + "#" + str(commit.id) for source in m.sources]
        manifests[name] = m
    token = repo.owner.oauth_token
    scopes = repo.owner.oauth_token_scopes