From e4ef8b7b3f90e39ecb9237d28f6b12aa72e95de8 Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Fri, 16 Apr 2021 11:49:29 +0800 Subject: [PATCH] fix CI exit code --- docs/meshtastic/test.html | 8 ++++---- meshtastic/test.py | 2 +- setup.py | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/meshtastic/test.html b/docs/meshtastic/test.html index d6ee1f1..7d1f08a 100644 --- a/docs/meshtastic/test.html +++ b/docs/meshtastic/test.html @@ -202,11 +202,11 @@ def testSimulator(): iface.localNode.exitSimulator() iface.close() logging.info("Integration test successful!") - sys.exit(0) except: print("Error while testing simulator:", sys.exc_info()[0]) traceback.print_exc() - sys.exit(1) + sys.exit(1) + sys.exit(0)
@@ -465,11 +465,11 @@ python3 -c 'from meshtastic.test import testSimulator; testSimulator()'

+ sys.exit(1) + sys.exit(0)
diff --git a/meshtastic/test.py b/meshtastic/test.py index 34219a8..2a0c662 100644 --- a/meshtastic/test.py +++ b/meshtastic/test.py @@ -174,8 +174,8 @@ def testSimulator(): iface.localNode.exitSimulator() iface.close() logging.info("Integration test successful!") - sys.exit(0) except: print("Error while testing simulator:", sys.exc_info()[0]) traceback.print_exc() sys.exit(1) + sys.exit(0) diff --git a/setup.py b/setup.py index 23e7043..f1110a8 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ with open("README.md", "r") as fh: # This call to setup() does all the work setup( name="meshtastic", - version="1.2.29", + version="1.2.30", description="Python API & client shell for talking to Meshtastic devices", long_description=long_description, long_description_content_type="text/markdown",