forked from openlp/openlp
pep8 fix
This commit is contained in:
parent
b6e0036383
commit
ff4ddefa77
@ -45,7 +45,6 @@ if __name__ == '__main__':
|
||||
# Mac OS X passes arguments like '-psn_XXXX' to the application. This argument is actually a process serial number.
|
||||
# However, this causes a conflict with other OpenLP arguments. Since we do not use this argument we can delete it
|
||||
# to avoid any potential conflicts.
|
||||
#if sys.platform.startswith('darwin'):
|
||||
if is_macosx():
|
||||
sys.argv = [x for x in sys.argv if not x.startswith('-psn')]
|
||||
main()
|
||||
|
@ -28,4 +28,4 @@
|
||||
###############################################################################
|
||||
"""
|
||||
The Projector driver module.
|
||||
"""
|
||||
"""
|
||||
|
@ -157,4 +157,4 @@ class TestSettingsForm(TestCase):
|
||||
|
||||
# THEN: The general tab's cancel() method should have been called, but not the themes tab
|
||||
mocked_general_cancel.assert_called_with()
|
||||
self.assertEqual(0, mocked_theme_cancel.call_count, 'The Themes tab\'s cancel() should not have been called')
|
||||
self.assertEqual(0, mocked_theme_cancel.call_count, 'The Themes tab\'s cancel() should not have been called')
|
||||
|
@ -95,4 +95,4 @@ class TestImageMediaItem(TestCase, TestMixin):
|
||||
self.form.save()
|
||||
# THEN: the post process should be requested
|
||||
self.assertEqual(1, self.form.settings_form.register_post_process.call_count,
|
||||
'Image Post processing should have been requested')
|
||||
'Image Post processing should have been requested')
|
||||
|
Loading…
Reference in New Issue
Block a user