Bump Python version used for linters to 3.10
Change-Id: I693516fc2a08218c50d83a3ab121b51254f97958 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
@@ -94,7 +94,7 @@ class OpenStackShell(shell.OpenStackShell):
|
||||
# instead.
|
||||
mod_versions = getattr(mod, 'API_VERSIONS', None)
|
||||
if mod_versions is not None and not isinstance(
|
||||
mod_versions, (dict, tuple)
|
||||
mod_versions, dict | tuple
|
||||
):
|
||||
raise TypeError(
|
||||
f'Plugin {mod} has incompatible API_VERSIONS. '
|
||||
|
||||
Reference in New Issue
Block a user