Do not use __builtin__ in python3
__builtin__ does not exist in Python 3, use six.moves.builtins instead. Change-Id: I1256f7df641af1085daca1d1ad2c34cb44cda265 closes-bug: #1290234
This commit is contained in:
parent
832ca69468
commit
da906b14a3
@ -3,3 +3,4 @@
|
||||
# process, which may cause wedges in the gate later.
|
||||
|
||||
eventlet>=0.17.4
|
||||
six>=1.9.0
|
||||
|
@ -1,6 +1,6 @@
|
||||
# See http://code.google.com/p/python-nose/issues/detail?id=373
|
||||
# The code below enables nosetests to work with i18n _() blocks
|
||||
|
||||
import __builtin__
|
||||
import six.moves.builtins as __builtin__
|
||||
|
||||
setattr(__builtin__, '_', lambda x: x)
|
||||
|
Loading…
x
Reference in New Issue
Block a user