mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 04:25:42 +00:00
opimise coverage
This commit is contained in:
@ -123,7 +123,7 @@ def check_git_version():
|
|||||||
if len(version) > 1 and version[0] == '2':
|
if len(version) > 1 and version[0] == '2':
|
||||||
if len(version) > 2 and int(version[1]) >= 22:
|
if len(version) > 2 and int(version[1]) >= 22:
|
||||||
return True
|
return True
|
||||||
except ValueError:
|
except ValueError: # pragma: no cover
|
||||||
pass
|
pass
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
Reference in New Issue
Block a user