summaryrefslogtreecommitdiffstats
path: root/examples/discover-loop.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-06-30 22:36:07 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-06-30 22:36:07 +0000
commit97e3d220503a676acd81839dea289f4e700d8bd8 (patch)
tree69791901e1ca15319c5c63ffb52fe9cc686f8bee /examples/discover-loop.py
parentAdding upstream version 1.4. (diff)
downloadlibnvme-97e3d220503a676acd81839dea289f4e700d8bd8.tar.xz
libnvme-97e3d220503a676acd81839dea289f4e700d8bd8.zip
Adding upstream version 1.5.upstream/1.5
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'examples/discover-loop.py')
-rw-r--r--examples/discover-loop.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/discover-loop.py b/examples/discover-loop.py
index 09a976b..8481e82 100644
--- a/examples/discover-loop.py
+++ b/examples/discover-loop.py
@@ -56,7 +56,7 @@ except Exception as e:
sys.exit(f'Failed to discover: {e}')
try:
-c.disconnect()
+ c.disconnect()
except Exception as e:
sys.exit(f'Failed to disconnect: {e}')