Draft: Remove py2 references
This commit is contained in:
@@ -153,9 +153,6 @@ class ToDo:
|
||||
|
||||
if ToDo.commitlist:
|
||||
for name, func in ToDo.commitlist:
|
||||
if six.PY2:
|
||||
if isinstance(name, six.text_type):
|
||||
name = name.encode("utf8")
|
||||
if _DEBUG_inner:
|
||||
_msg("Debug: committing.\n"
|
||||
"name: {}\n".format(name))
|
||||
|
||||
Reference in New Issue
Block a user