Sublink: fix subsequencing
regression caused by py3 transition. Mysterious.
This commit is contained in:
parent
661ec28e17
commit
70c20711c0
|
@ -49,7 +49,9 @@ class SubsequencingError_LinkValue(SubsequencingError):
|
|||
# -----------------------</EXCEPTIONS>------------------------
|
||||
|
||||
# -----------------------<HELPER STUFF>-----------------------
|
||||
if not hasattr(__builtins__, "basestring"):
|
||||
try:
|
||||
basestring = basestring
|
||||
except Exception:
|
||||
basestring = str #Py3 compatibility
|
||||
|
||||
class HashableShape(object):
|
||||
|
|
Loading…
Reference in New Issue
Block a user