mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
test-driver.py: fix weird non-pythonism
This commit is contained in:
parent
7ed2f6e55d
commit
a8f693ed48
1 changed files with 1 additions and 3 deletions
|
@ -1183,9 +1183,7 @@ class Driver:
|
|||
serial_stdout_on=self.serial_stdout_on,
|
||||
Machine=Machine, # for typing
|
||||
)
|
||||
machine_symbols = {
|
||||
m.name: self.machines[idx] for idx, m in enumerate(self.machines)
|
||||
}
|
||||
machine_symbols = {m.name: m for m in self.machines}
|
||||
vlan_symbols = {
|
||||
f"vlan{v.nr}": self.vlans[idx] for idx, v in enumerate(self.vlans)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue