Skip to content

Commit 3a91ad0

Browse files
committed
examples/hotplug_advanced.py: Fix syntax for python 3
1 parent 734a009 commit 3a91ad0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/hotplug_advanced.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def main():
227227
)
228228
try:
229229
mode()
230-
except NoHotplugSupport, exc:
230+
except NoHotplugSupport as exc:
231231
print(exc.value)
232232
sys.exit(1)
233233
except (KeyboardInterrupt, SystemExit):

0 commit comments

Comments
 (0)