Patchwork D7738: bugzilla: drop an unused variable assignment

login
register
mail settings
Submitter phabricator
Date Dec. 27, 2019, 9:16 p.m.
Message ID <differential-rev-PHID-DREV-zzqbek7qna7gfhcbvijr-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/44067/
State Superseded
Headers show

Comments

phabricator - Dec. 27, 2019, 9:16 p.m.
mharbison72 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  Caught by PyCharm.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D7738

AFFECTED FILES
  hgext/bugzilla.py

CHANGE DETAILS




To: mharbison72, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/hgext/bugzilla.py b/hgext/bugzilla.py
--- a/hgext/bugzilla.py
+++ b/hgext/bugzilla.py
@@ -1099,7 +1099,6 @@ 
         the given changeset in their comments.
         '''
         start = 0
-        hours = 0.0
         bugs = {}
         bugmatch = self.bug_re.search(ctx.description(), start)
         fixmatch = self.fix_re.search(ctx.description(), start)