[Asterisk-code-review] runtests.py: Remove unnecessary Unknown Exception message (testsuite[19])

George Joseph asteriskteam at digium.com
Fri Sep 9 06:13:01 CDT 2022


George Joseph has uploaded this change for review. ( https://gerrit.asterisk.org/c/testsuite/+/19164 )


Change subject: runtests.py: Remove unnecessary Unknown Exception message
......................................................................

runtests.py: Remove unnecessary Unknown Exception message

Change-Id: I28950915dd7055e3e912ccd2e277ac23a04e1e63
---
M runtests.py
1 file changed, 10 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/64/19164/1

diff --git a/runtests.py b/runtests.py
index 1a50994..2edb375 100755
--- a/runtests.py
+++ b/runtests.py
@@ -208,7 +208,6 @@
             if not re.search("LSB core file", cp.stdout):
                 return False
         except:
-            print("Unknown exception occurred while executing %r" % (file_cmd,))
             return False
 
         gdb_cmd = ["gdb",
@@ -232,7 +231,7 @@
             else:
                 return False
         except:
-            print("Unknown exception occurred while executing %r" % (gdb_cmd,))
+            pass
         return False
 
     def _check_for_core(self):

-- 
To view, visit https://gerrit.asterisk.org/c/testsuite/+/19164
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: testsuite
Gerrit-Branch: 19
Gerrit-Change-Id: I28950915dd7055e3e912ccd2e277ac23a04e1e63
Gerrit-Change-Number: 19164
Gerrit-PatchSet: 1
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20220909/9f120eb8/attachment.html>


More information about the asterisk-code-review mailing list