diff --git a/tools/pr_comments.py b/tools/pr_comments.py index 890a611c..1b391ed7 100644 --- a/tools/pr_comments.py +++ b/tools/pr_comments.py @@ -16,7 +16,6 @@ # Standard library imports from collections import namedtuple import re -import sys # Third party imports (anything installed into the local Python environment) from pyghee.utils import log @@ -63,8 +62,6 @@ def determine_issue_comment(pull_request, pr_comment_id, search_pattern=None): PyGithub, not the github from the internal connections module) """ - fn = sys._getframe().f_code.co_name - if pr_comment_id != -1: return pull_request.get_issue_comment(pr_comment_id) else: