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:
parent
87a7e65b42
commit
c5c5b36536
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user