From patchwork Sat Sep 30 12:02:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [01,of,17] bugzilla: remove superfluous pass statements From: Augie Fackler X-Patchwork-Id: 24234 Message-Id: <200bd11a6fbb0a6f6667.1506772927@augie-macbookpro2.roam.corp.google.com> To: mercurial-devel@mercurial-scm.org Date: Sat, 30 Sep 2017 08:02:07 -0400 # HG changeset patch # User Augie Fackler # Date 1506700526 14400 # Fri Sep 29 11:55:26 2017 -0400 # Node ID 200bd11a6fbb0a6f6667e65fd0af721e54e39d20 # Parent ac0cd81e2f83cd6a2910c61afbb98a415832f8e7 bugzilla: remove superfluous pass statements diff --git a/hgext/bugzilla.py b/hgext/bugzilla.py --- a/hgext/bugzilla.py +++ b/hgext/bugzilla.py @@ -412,11 +412,9 @@ class bzaccess(object): def filter_real_bug_ids(self, bugs): '''remove bug IDs that do not exist in Bugzilla from bugs.''' - pass def filter_cset_known_bug_ids(self, node, bugs): '''remove bug IDs where node occurs in comment text from bugs.''' - pass def updatebug(self, bugid, newstate, text, committer): '''update the specified bug. Add comment text and set new states. @@ -424,7 +422,6 @@ class bzaccess(object): If possible add the comment as being from the committer of the changeset. Otherwise use the default Bugzilla user. ''' - pass def notify(self, bugs, committer): '''Force sending of Bugzilla notification emails. @@ -432,7 +429,6 @@ class bzaccess(object): Only required if the access method does not trigger notification emails automatically. ''' - pass # Bugzilla via direct access to MySQL database. class bzmysql(bzaccess):