Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit 135b05c

Browse files
committed
Fix some pylint
1 parent 3ff0540 commit 135b05c

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

tests/urltest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ def testURLFetch(self):
415415
except AssertionError:
416416
print "%s-%s FAILED." % (label, arch)
417417
assertions += 1
418-
except Exception, e:
418+
except Exception:
419419
print "%s-%s ERROR." % (label, arch)
420420
assertions += 1
421421

virtinst/osdict.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -536,8 +536,8 @@ def lookup_device_param(conn, hv_type, os_type, var, device_key, param):
536536
"sortby": "mswin5",
537537
"distro" : "win",
538538
"supported": True,
539-
"acpi": [(support.SUPPORT_CONN_HV_SKIP_DEFAULT_ACPI, False),],
540-
"apic": [(support.SUPPORT_CONN_HV_SKIP_DEFAULT_ACPI, False),],
539+
"acpi": [(support.SUPPORT_CONN_HV_SKIP_DEFAULT_ACPI, False)],
540+
"apic": [(support.SUPPORT_CONN_HV_SKIP_DEFAULT_ACPI, False)],
541541
},
542542
"winxp64": {
543543
"label": "Microsoft Windows XP (x86_64)",
@@ -549,8 +549,8 @@ def lookup_device_param(conn, hv_type, os_type, var, device_key, param):
549549
"label": "Microsoft Windows 2000",
550550
"sortby" : "mswin4",
551551
"distro": "win",
552-
"acpi": [(support.SUPPORT_CONN_HV_SKIP_DEFAULT_ACPI, False),],
553-
"apic": [(support.SUPPORT_CONN_HV_SKIP_DEFAULT_ACPI, False),],
552+
"acpi": [(support.SUPPORT_CONN_HV_SKIP_DEFAULT_ACPI, False)],
553+
"apic": [(support.SUPPORT_CONN_HV_SKIP_DEFAULT_ACPI, False)],
554554
},
555555
"win2k3": {
556556
"label": "Microsoft Windows Server 2003",

0 commit comments

Comments
 (0)