Fix powervc resources name out of ascii range
To fix powervc resources name out of ascii range: UnicodeEncodeError: 'ascii' codec can't encode characters in position 17-18: ordinal not in range(128) Closes-Bug: #1430179 Change-Id: Icd3bb2d17dbeedbd06e04395cfee97b1eadf129b
This commit is contained in:
parent
a717ce4cec
commit
6181667fcd
|
@ -17,6 +17,8 @@ LOG = logging.getLogger(__name__)
|
|||
|
||||
CONF = config.CONF
|
||||
DEFAULT_TTL = 600
|
||||
reload(sys)
|
||||
sys.setdefaultencoding('UTF8')
|
||||
|
||||
|
||||
class TimeLivedCache(object):
|
||||
|
|
Loading…
Reference in New Issue