From 791b8df969dff8953edbc4819ab7a0b77570a6fb Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Tue, 2 Oct 2018 07:01:07 -0400 Subject: [PATCH] Wow I should test things before I push them --- gitsrht/blueprints/repo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitsrht/blueprints/repo.py b/gitsrht/blueprints/repo.py index 65e8e99..5535b1e 100644 --- a/gitsrht/blueprints/repo.py +++ b/gitsrht/blueprints/repo.py @@ -191,7 +191,7 @@ def archive(owner, repo, ref): git_repo = CachedRepository(repo.path) commit, ref = lookup_ref(git_repo, ref) - path = f"/tmp/{commit.id.hex}{binascii.hexlify(os.urandom(8)}.tar.gz" + path = f"/tmp/{commit.id.hex}{binascii.hexlify(os.urandom(8))}.tar.gz" try: args = [ "git", -- 2.38.4