Skip to content

Commit

Permalink
Remove some superfluous returns to pacify pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarta committed May 15, 2024
1 parent 85c0d2f commit c4b5ee7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion qubes_config/global_config/global_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,6 @@ def _page_switched(self, *_args):
if not allow_switch:
GLib.timeout_add(1, lambda: self.main_notebook.set_current_page(
old_page_num))
return

def _ask_unsaved(self, description: str) -> Gtk.ResponseType:
box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
Expand Down
1 change: 0 additions & 1 deletion qubes_config/global_config/policy_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,6 @@ def _save_raw(self, _widget):
text=_("The following rules could not be parsed:\n") +
error_message + "\n"
)
return

def _cancel_raw(self, _widget):
self.fill_raw(self.last_known_rules)
Expand Down
2 changes: 0 additions & 2 deletions qui/devices/actionable_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ def __init__(self, *args, **kwargs):

def widget_action(self, *_args):
"""What should happen when this widget is activated/clicked"""
if not self.actionable:
return


### ICONS
Expand Down

0 comments on commit c4b5ee7

Please sign in to comment.