Handles Python3 builtin changes

Some of the builtins (like map) have changed in Python3 in a way that
can lead to broken Python2 code.

bp python3
Change-Id: I632d857bd29a23db61538755f09da68f0cf7b723
This commit is contained in:
David Stanek 2015-04-23 14:34:24 +00:00
parent c3077247fe
commit 9bc74ec165
2 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,7 @@ import time
import memcache
from oslo_log import log
from six.moves import queue
from six.moves import queue, zip
from keystone import exception
from keystone.i18n import _

View File

@ -20,6 +20,7 @@ import uuid
from dogpile.cache import api
from dogpile.cache import region as dp_region
import six
from six.moves import range
from keystone.common.cache.backends import mongo
from keystone import exception