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

Friendly Automation asteriskteam at digium.com
Fri Sep 9 06:14:25 CDT 2022


Friendly Automation has submitted this change. ( https://gerrit.asterisk.org/c/testsuite/+/19165 )

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(-)

Approvals:
  Friendly Automation: Looks good to me, approved; Approved for Submit




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/+/19165
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: testsuite
Gerrit-Branch: 20
Gerrit-Change-Id: I28950915dd7055e3e912ccd2e277ac23a04e1e63
Gerrit-Change-Number: 19165
Gerrit-PatchSet: 1
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20220909/26450c66/attachment-0001.html>


More information about the asterisk-code-review mailing list