Fix version check
This commit is contained in:
pare
5a94c46bb4
commit
20c1d95b45
S'han modificat 1 arxius amb 8 adicions i 8 eliminacions
|
@ -44,7 +44,7 @@ def api_version(created_ver, last_changed_ver):
|
||||||
def wrapper(function, self, *args, **kwargs):
|
def wrapper(function, self, *args, **kwargs):
|
||||||
if not self.version_check_mode == "none":
|
if not self.version_check_mode == "none":
|
||||||
if self.version_check_mode == "created":
|
if self.version_check_mode == "created":
|
||||||
version = created_version
|
version = created_ver
|
||||||
else:
|
else:
|
||||||
version = last_changed_ver
|
version = last_changed_ver
|
||||||
major, minor, patch = parse_version_string(version)
|
major, minor, patch = parse_version_string(version)
|
||||||
|
|
Loading…
Referencia en una nova incidència