Commit 5c9d7f8d authored by Tomas Krizek's avatar Tomas Krizek

pylint: fix R1718 consider-using-set-comprehension

parent df572508
......@@ -448,7 +448,7 @@ class Range:
address = node["/address"].value
self.addresses = {address} if address is not None else set()
self.addresses |= set([a.value for a in node.match("/address/*")])
self.addresses |= {a.value for a in node.match("/address/*")}
self.stored = [Entry(n) for n in node.match("/entry")]
self.args = {}
self.received = 0
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment