Skip to content

Commit

Permalink
👹 Feed the hobgoblins (delint).
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Aug 12, 2023
1 parent 5cfc220 commit c220d0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion irc/modes.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def _parse_modes(mode_string, unary_modes=""):
"""

# mode_string must be non-empty and begin with a sign
if not mode_string or not mode_string[0] in '+-':
if not mode_string or mode_string[0] not in "+-":
return []

modes = []
Expand Down
2 changes: 1 addition & 1 deletion scripts/servermap.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def on_endoflinks(connection, event):
print("\n")

m = {}
for (to_node, from_node, desc) in links:
for to_node, from_node, desc in links:
if from_node != to_node:
m[from_node] = m.get(from_node, []) + [to_node]

Expand Down

0 comments on commit c220d0d

Please sign in to comment.