mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-21 09:35:45 +02:00
Fix for "'VersionedAPIData' object has no attribute 'fully_supported'" (#219)
Commit 4b09951
added code looking for a non-existent `fully_supported`
attribute.
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
This commit is contained in:
parent
81c4186497
commit
f6ed27c588
1 changed files with 2 additions and 2 deletions
|
@ -59,11 +59,11 @@ class APIData(object):
|
|||
for other_version, comparator, data in self.versioned:
|
||||
if other_version == '*' and comparator == '*':
|
||||
self._current = data.specialize_for_version(api_version)
|
||||
return self._current.fully_supported
|
||||
return self._current.fully_understood
|
||||
other_api_version = LooseVersion(other_version)
|
||||
if _compare(api_version, other_api_version, comparator):
|
||||
self._current = data.specialize_for_version(api_version)
|
||||
return self._current.fully_supported
|
||||
return self._current.fully_understood
|
||||
self._current = None
|
||||
return False
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue