mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-01 21:16:46 +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) > 2 and int(version[1]) >= 22:
|
||||
return True
|
||||
except ValueError:
|
||||
except ValueError: # pragma: no cover
|
||||
pass
|
||||
|
||||
return False
|
||||
|
Loading…
x
Reference in New Issue
Block a user