more tweaks, outline is lighter then the color given so compensate a bit.
This commit is contained in:
@@ -150,13 +150,14 @@ def rna2xml(fw=print_ln,
|
||||
|
||||
# declare + attributes
|
||||
if pretty_format:
|
||||
if node_attrs:
|
||||
tmp_str = "<%s " % value_type_name
|
||||
tmp_ident = "\n" + ident + (" " * len(tmp_str))
|
||||
|
||||
fw("%s%s%s>\n" % (ident, tmp_str, tmp_ident.join(node_attrs)))
|
||||
|
||||
del tmp_str
|
||||
del tmp_ident
|
||||
else:
|
||||
fw("%s<%s>\n" % (ident, value_type_name))
|
||||
else:
|
||||
fw("%s<%s %s>\n" % (ident, value_type_name, " ".join(node_attrs)))
|
||||
|
||||
|
Reference in New Issue
Block a user