Fixed pylint warnings for PathUtil family

This commit is contained in:
Markus Lampert
2019-06-30 00:14:46 -07:00
parent 7518226d0f
commit 4e46bbf811
2 changed files with 8 additions and 62 deletions

View File

@@ -104,7 +104,7 @@ There is currently a bug that invalidates the DAG if an object
is deleted that still has one or more expressions attached to it.
Use this function to remove all expressions before deletion.'''
if hasattr(obj, 'ExpressionEngine'):
for attr,expr in obj.ExpressionEngine:
for attr, expr in obj.ExpressionEngine: # pylint: disable=unused-variable
obj.setExpression(attr, None)
def toUnicode(string):