Fix regex

This commit is contained in:
Pascal Vizeli 2017-04-28 01:12:27 +02:00
parent a9b4174590
commit 9f406df129

View File

@ -4,7 +4,7 @@ import pathlib
import re
RE_SLUGIFY = re.compile(r'[^a-z0-9_]+')
RE_SHA1 = re.compile(r"[a-f0-9]{40}")
RE_SHA1 = re.compile(r"[a-f0-9]{8}")
def get_hash_from_repository(repo):