##// END OF EJS Templates
git: fixed wrong regex on sha search
super-admin -
r4940:035219e7 default
parent child Browse files
Show More
@@ -45,7 +45,7 b' from rhodecode.lib.vcs.exceptions import'
45 RepositoryError, TagAlreadyExistError, TagDoesNotExistError, VCSError, UnresolvedFilesInRepo)
45 RepositoryError, TagAlreadyExistError, TagDoesNotExistError, VCSError, UnresolvedFilesInRepo)
46
46
47
47
48 SHA_PATTERN = re.compile(r'^[[0-9a-fA-F]{12}|[0-9a-fA-F]{40}]$')
48 SHA_PATTERN = re.compile(r'^([0-9a-fA-F]{12}|[0-9a-fA-F]{40})$')
49
49
50 log = logging.getLogger(__name__)
50 log = logging.getLogger(__name__)
51
51
General Comments 0
You need to be logged in to leave comments. Login now