pep8 cleanup and fix for keymap test operator from my own recent fix.

This commit is contained in:
2011-09-26 15:39:15 +00:00
parent dc19877a09
commit 8a423f59ea
8 changed files with 37 additions and 24 deletions

View File

@@ -66,9 +66,11 @@ class TEXT_HT_header(Header):
row = layout.row()
if text.filepath:
if text.is_dirty:
row.label(text="File" + ": *%r " % text.filepath + "(unsaved)")
row.label(text="File" + ": *%r " %
text.filepath + "(unsaved)")
else:
row.label(text="File" + ": %r" % text.filepath)
row.label(text="File" + ": %r" %
text.filepath)
else:
row.label(text="Text: External"
if text.library