More PEP8 fixes

This commit is contained in:
Jonathan Springer 2014-04-16 16:49:24 -04:00
parent b6e0aa6c2e
commit 85fc53954d
2 changed files with 2 additions and 2 deletions

View File

@ -320,7 +320,7 @@ class Ui_MainWindow(object):
# i18n add Language Actions
add_actions(self.settings_language_menu, (self.auto_language_item, None))
add_actions(self.settings_language_menu, self.language_group.actions())
# Qt on OS X look for keywords in the menu items title to determine which menu items get added to the main menu.
# Qt on OS X look for keywords in the menu items title to determine which menu items get added to the main menu.
# If we are running on Mac OS X the menu items whose title contains those keywords but don't belong in the main
# menu need to be marked as such with QAction.NoRole.
if sys.platform == 'darwin':

View File

@ -137,7 +137,7 @@ class SongBeamerImport(SongImport):
if line.startswith('#') and not read_verses:
self.parseTags(line)
elif line.startswith('--'):
# --- and -- allowed for page-breaks (difference in Songbeamer only in printout)
# --- and -- allowed for page-breaks (difference in Songbeamer only in printout)
if self.current_verse:
self.replace_html_tags()
self.add_verse(self.current_verse, self.current_verse_type)