driazati commented on code in PR #12578:
URL: https://github.com/apache/tvm/pull/12578#discussion_r954161661


##########
tests/scripts/github_cc_reviewers.py:
##########
@@ -106,5 +107,8 @@ def find_reviewers(body: str) -> List[str]:
         for reviewer in to_add:
             try:
                 github.post(f"pulls/{number}/requested_reviewers", 
{"reviewers": [reviewer]})
-            except error.HTTPError as e:
+            except KeyboardInterrupt:
+                sys.exit()
+            except Exception as e:  # pylint: disable=broad-except

Review Comment:
   nit to make pylint happy
   ```suggestion
               except (RuntimeError, error.HTTPError) as e:
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to