Skip to content

Commit

Permalink
refactor: Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
MattHag committed Mar 10, 2024
1 parent d2b640d commit 7664fd9
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions lib/solaar/ui/diversion_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@

logger = logging.getLogger(__name__)

#
#
#

_diversion_dialog = None
_rule_component_clipboard = None

Expand Down Expand Up @@ -708,20 +704,6 @@ def update_devices(self):
self.view.queue_draw()


## Not currently used
#
# class HexEntry(Gtk.Entry, Gtk.Editable):
#
# def do_insert_text(self, new_text, length, pos):
# new_text = new_text.upper()
# from string import hexdigits
# if any(c for c in new_text if c not in hexdigits):
# return pos
# else:
# self.get_buffer().insert_text(pos, new_text, length)
# return pos + length


def norm(s):
return s.replace("_", "").replace(" ", "").lower()

Expand Down

0 comments on commit 7664fd9

Please sign in to comment.