Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary parentheses for assert. #286

Merged
merged 1 commit into from
Jan 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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