pep8 cleanup and fix for keymap test operator from my own recent fix.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user