connection/inventory: adjust import __future__ for Python3 #9584
+51
−50
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SUMMARY
Change the
from __future__
imports toannotations
only, as needed for Python 3ISSUE TYPE
COMPONENT NAME
plugins/connection/chroot.py
plugins/connection/funcd.py
plugins/connection/incus.py
plugins/connection/iocage.py
plugins/connection/jail.py
plugins/connection/lxc.py
plugins/connection/lxd.py
plugins/connection/proxmox_pct_remote.py
plugins/connection/qubes.py
plugins/connection/saltstack.py
plugins/connection/zone.py
plugins/inventory/cobbler.py
plugins/inventory/gitlab_runners.py
plugins/inventory/icinga2.py
plugins/inventory/iocage.py
plugins/inventory/linode.py
plugins/inventory/lxd.py
plugins/inventory/nmap.py
plugins/inventory/online.py
plugins/inventory/opennebula.py
plugins/inventory/proxmox.py
plugins/inventory/scaleway.py
plugins/inventory/stackpath_compute.py
plugins/inventory/virtualbox.py
plugins/inventory/xen_orchestra.py