mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
opimise coverage
This commit is contained in:
parent
bae290d605
commit
8550915528
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user