pep8 checker, mostly pedantic style changes but also found an error in mesh_utils.mesh_linked_faces()

This commit is contained in:
Campbell Barton
2011-04-01 02:41:15 +00:00
parent 14e94d742e
commit c8652b301f
17 changed files with 44 additions and 49 deletions

View File

@@ -65,7 +65,7 @@ def _parse_rna_args(base, py_node):
def _call_recursive(context, base, py_node):
prop = base.bl_rna.properties.get(py_node[TAG])
# prop = base.bl_rna.properties.get(py_node[TAG])
if py_node[TAG] in base.bl_rna.properties:
value = py_node[ARGS].get("expr")
if value:
@@ -73,7 +73,7 @@ def _call_recursive(context, base, py_node):
setattr(base, py_node[TAG], value)
else:
value = py_node[ARGS]['value'] # have to have this
setattr(base, name, value)
setattr(base, py_node[TAG], value)
else:
args = _parse_rna_args(base, py_node)
func_new = getattr(base, py_node[TAG])