Merge "Removing import conditional for 'collections.abc'"

This commit is contained in:
Zuul 2021-07-16 05:23:46 +00:00 committed by Gerrit Code Review
commit 8e2f503244
2 changed files with 2 additions and 13 deletions

View File

@ -16,12 +16,7 @@
"""switch_vlans module
Used by the switch_vlans validation.
"""
import collections
try:
collectionsAbc = collections.abc
except AttributeError:
collectionsAbc = collections
import collections.abc as collectionsAbc
import os.path

View File

@ -16,13 +16,7 @@
# under the License.
from six import string_types
import collections
try:
collectionsAbc = collections.abc
except AttributeError:
collectionsAbc = collections
import collections.abc as collectionsAbc
from glanceclient import client as glance_client
from heatclient import client as heat_client
from heatclient import exc as heat_exc