Caught by PyCharm.
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHG3194cc8c8de0: bugzilla: drop an unused variable assignment
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
| hg-reviewers |
Caught by PyCharm.
| Lint Skipped |
| Unit Tests Skipped |
| Path | Packages | |||
|---|---|---|---|---|
| M | hgext/bugzilla.py (1 line) |
| Commit | Parents | Author | Summary | Date |
|---|---|---|---|---|
| 35d8b64c9285 | 05d4d6719c5f | Matt Harbison | Dec 27 2019, 1:13 PM |
| Status | Author | Revision | |
|---|---|---|---|
| Closed | mharbison72 | ||
| Closed | mharbison72 | ||
| Closed | mharbison72 | ||
| Closed | mharbison72 | ||
| Closed | mharbison72 | ||
| Closed | mharbison72 | ||
| Closed | mharbison72 | ||
| Closed | mharbison72 | ||
| Closed | mharbison72 | ||
| Closed | mharbison72 | ||
| Closed | mharbison72 | ||
| Closed | mharbison72 | ||
| Closed | mharbison72 | ||
| Closed | mharbison72 | ||
| Closed | mharbison72 |
| def find_bugs(self, ctx): | def find_bugs(self, ctx): | ||||
| '''return bugs dictionary created from commit comment. | '''return bugs dictionary created from commit comment. | ||||
| Extract bug info from changeset comments. Filter out any that are | Extract bug info from changeset comments. Filter out any that are | ||||
| not known to Bugzilla, and any that already have a reference to | not known to Bugzilla, and any that already have a reference to | ||||
| the given changeset in their comments. | the given changeset in their comments. | ||||
| ''' | ''' | ||||
| start = 0 | start = 0 | ||||
| hours = 0.0 | |||||
| bugs = {} | bugs = {} | ||||
| bugmatch = self.bug_re.search(ctx.description(), start) | bugmatch = self.bug_re.search(ctx.description(), start) | ||||
| fixmatch = self.fix_re.search(ctx.description(), start) | fixmatch = self.fix_re.search(ctx.description(), start) | ||||
| while True: | while True: | ||||
| bugattribs = {} | bugattribs = {} | ||||
| if not bugmatch and not fixmatch: | if not bugmatch and not fixmatch: | ||||
| break | break | ||||
| if not bugmatch: | if not bugmatch: | ||||