device: remove unreachable code
This commit is contained in:
parent
d76eed85f6
commit
4e4275c281
|
@ -379,8 +379,6 @@ class NamedInts:
|
|||
|
||||
def __init__(self, dict=None, **kwargs):
|
||||
def _readable_name(n):
|
||||
if not is_string(n):
|
||||
raise TypeError("expected string, got " + str(type(n)))
|
||||
return n.replace("__", "/").replace("_", " ")
|
||||
|
||||
# print (repr(kwargs))
|
||||
|
|
Loading…
Reference in New Issue