pep8 compliance: E201 whitespace after '['

This commit is contained in:
David Sowder 2012-02-19 20:29:59 -06:00
parent 41aa14b5fc
commit 2f2d1e44c6

View File

@ -148,22 +148,22 @@ class ControlPanel(Panel):
buttonsColumn.append(b)'''
cmd = mcplatform.cmd_name
hotkeys = ([ (cmd + "-N", "Create New World", editor.mcedit.createNewWorld),
(cmd + "-O", "Open World...", editor.askOpenFile) ,
(cmd + "-L", "Load World...", editor.askLoadWorld) ,
(cmd + "-S", "Save", editor.saveFile) ,
(cmd + "-R", "Reload", editor.reload) ,
(cmd + "-W", "Close", editor.closeEditor) ,
("", "", lambda: None) ,
hotkeys = ([(cmd + "-N", "Create New World", editor.mcedit.createNewWorld),
(cmd + "-O", "Open World...", editor.askOpenFile) ,
(cmd + "-L", "Load World...", editor.askLoadWorld) ,
(cmd + "-S", "Save", editor.saveFile) ,
(cmd + "-R", "Reload", editor.reload) ,
(cmd + "-W", "Close", editor.closeEditor) ,
("", "", lambda: None) ,
("G", "Goto", editor.showGotoPanel) ,
(cmd + "-I", "World Info", editor.showWorldInfo) ,
(cmd + "-Z", "Undo", editor.undo) ,
(cmd + "-A", "Select All", editor.selectAll),
(cmd + "-D", "Deselect", editor.deselect) ,
(cmd + "-F", AttrRef(editor, 'viewDistanceLabelText'), editor.swapViewDistance),
("Alt-F4", "Quit", editor.quit),
])
("G", "Goto", editor.showGotoPanel) ,
(cmd + "-I", "World Info", editor.showWorldInfo) ,
(cmd + "-Z", "Undo", editor.undo) ,
(cmd + "-A", "Select All", editor.selectAll),
(cmd + "-D", "Deselect", editor.deselect) ,
(cmd + "-F", AttrRef(editor, 'viewDistanceLabelText'), editor.swapViewDistance),
("Alt-F4", "Quit", editor.quit),
])
if cmd == "Cmd":
hotkeys[-1] = ("Cmd-Q", hotkeys[-1][1], hotkeys[-1][2])