From: Benjamin Drung Date: Tue, 23 May 2023 10:30:16 +0000 (+0200) Subject: examples: Fix wrong indentation in discover-loop.py X-Git-Tag: v1.5~25 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=c885f3be332521189d889a2bc591fa6b21cb94f9;p=users%2Fsagi%2Flibnvme.git examples: Fix wrong indentation in discover-loop.py Running `examples/discover-loop.py` fails: ``` File "examples/discover-loop.py", line 59 c.disconnect() ^ IndentationError: expected an indented block after 'try' statement on line 58 ``` Signed-off-by: Benjamin Drung --- diff --git a/examples/discover-loop.py b/examples/discover-loop.py index 09a976be..8481e821 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}')