Skip to content

Commit

Permalink
Remove unnecessary parentheses for assert. (#286)
Browse files Browse the repository at this point in the history
This makes newer flake8 happy.

Signed-off-by: Chris Lalancette <[email protected]>
  • Loading branch information
clalancette authored Jan 29, 2024
1 parent 01782e8 commit 6ab873c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qt_gui/src/qt_gui/plugin_handler_xembed_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,14 @@ def _emit_load_completed(self, exception=None):

def shutdown_plugin(self, callback):
# this method should never be called for embedded clients
assert(False)
assert False

def emit_shutdown_plugin_completed(self):
self._remote_container.shutdown_plugin_completed()

def save_settings(self, plugin_settings, instance_settings, callback=None):
# this method should never be called for embedded clients
assert(False)
assert False

def _save_settings_from_remote(self):
qDebug('PluginHandlerXEmbedClient._save_settings_from_remote()')
Expand All @@ -119,7 +119,7 @@ def emit_save_settings_completed(self):

def restore_settings(self, plugin_settings, instance_settings, callback=None):
# this method should never be called for embedded clients
assert(False)
assert False

def _restore_settings_from_remote(self):
qDebug('PluginHandlerXEmbedClient._restore_settings_from_remote()')
Expand Down

0 comments on commit 6ab873c

Please sign in to comment.