Python: remove redundant len() use

This commit is contained in:
Campbell Barton
2014-02-19 00:05:31 +11:00
parent d035e5ac9d
commit e965afcdcc
3 changed files with 3 additions and 3 deletions

View File

@@ -279,7 +279,7 @@ class _GenericBone:
child = children_basename[0]
chain.append(child)
else:
if len(children_basename):
if children_basename:
print("multiple basenames found, "
"this is probably not what you want!",
self.name, children_basename)