Cleanup: pep8

This commit is contained in:
2014-09-17 18:36:17 +10:00
parent f0f398dcf3
commit 0e0e528ea4
27 changed files with 82 additions and 95 deletions

View File

@@ -92,7 +92,6 @@ def rna2xml(fw=print_ln,
bpy.types.Sequence,
)
def number_to_str(val, val_type):
if val_type == int:
return "%d" % val
@@ -245,13 +244,13 @@ def xml2rna(root_xml,
):
def rna2xml_node(xml_node, value):
# print("evaluating:", xml_node.nodeName)
# print("evaluating:", xml_node.nodeName)
# ---------------------------------------------------------------------
# Simple attributes
for attr in xml_node.attributes.keys():
# print(" ", attr)
# print(" ", attr)
subvalue = getattr(value, attr, Ellipsis)
if subvalue is Ellipsis: