home
·
contact
·
privacy
projects
/
ircplom
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b202757
)
"C0208: Use a sequence type when iterating over values (use-sequence-for-iteration)"
author
Christian Heller
<c.heller@plomlompom.de>
Fri, 26 Sep 2025 12:44:41 +0000
(14:44 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Fri, 26 Sep 2025 12:44:41 +0000
(14:44 +0200)
src/ircplom/client.py
patch
|
blob
|
history
diff --git
a/src/ircplom/client.py
b/src/ircplom/client.py
index e4ffbb5748c735244d10ac9a5772a74fa01995f2..7c21112e693953584375e27ade9590b92b53d499 100644
(file)
--- a/
src/ircplom/client.py
+++ b/
src/ircplom/client.py
@@
-830,7
+830,7
@@
class Client(ABC, ClientQueueMixin):
setattr(self.db, k, getattr(conn_setup, k))
if self.db.port <= 0:
self.db.port = PORT_SSL
- for attr_name in
{'nick_wanted', 'user_wanted', 'realname'}
:
+ for attr_name in
('nick_wanted', 'user_wanted', 'realname')
:
if not getattr(self.db, attr_name):
setattr(self.db, attr_name, getuser())