(self, github_api, github_id, cmd)
| 126 | class GitHubIssue(object): |
| 127 | |
| 128 | def __init__(self, github_api, github_id, cmd): |
| 129 | self.github_api = github_api |
| 130 | self.github_id = github_id |
| 131 | self.cmd = cmd |
| 132 | |
| 133 | try: |
| 134 | self.issue = self.github_api.get_issue_data(github_id) |
| 135 | except Exception as e: |
| 136 | self.cmd.fail("GitHub could not find %s\n%s" % (github_id, e)) |
| 137 | |
| 138 | def get_label(self, prefix): |
| 139 | prefix = f"{prefix}:" |
nothing calls this directly
no test coverage detected