opae.admin: fpga: fix aer_disabled to use list
This function operates on a list of nodes.
If not nodes are given then default to a list of just one node, the root
port of the pci_node.
@@ -311,7 +311,7 @@ class fpga(class_node):
@contextmanager
def disable_aer(self, *nodes):
aer_values = []
- to_disable = nodes or self.pci_node.root
+ to_disable = nodes or [self.pci_node.root]
try:
for node in to_disable:
aer_values.append((node, node.aer))
