2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-13 11:17:49 +00:00

Fix reverse noderange in python 3

python3 environments do not natively know the word 'unicode',
in such a case, make unicode an alias for 'str'.
This commit is contained in:
Jarrod Johnson 2020-05-19 14:18:35 -04:00
parent 87a7e65b42
commit c5c5b36536

View File

@ -69,6 +69,10 @@ import sys
pluginmap = {}
dispatch_plugins = (b'ipmi', u'ipmi', b'redfish', u'redfish', b'tsmsol', u'tsmsol')
try:
unicode
except NameError:
unicode = str
def seek_element(currplace, currkey):
try: