From patchwork Sat Sep 30 12:02:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [12,of,17] obsolete: remove superfluous pass statements From: Augie Fackler X-Patchwork-Id: 24244 Message-Id: <09e901272db94667bc14.1506772938@augie-macbookpro2.roam.corp.google.com> To: mercurial-devel@mercurial-scm.org Date: Sat, 30 Sep 2017 08:02:18 -0400 # HG changeset patch # User Augie Fackler # Date 1506771895 14400 # Sat Sep 30 07:44:55 2017 -0400 # Node ID 09e901272db94667bc14dc8455a2299d540bb021 # Parent 28011b88d7cf1a95de128c932c3dda33f6293c5e obsolete: remove superfluous pass statements diff --git a/mercurial/obsolete.py b/mercurial/obsolete.py --- a/mercurial/obsolete.py +++ b/mercurial/obsolete.py @@ -542,7 +542,6 @@ class obsstore(object): raise # just build an empty _all list if no obsstore exists, which # avoids further stat() syscalls - pass return bool(self._all) __bool__ = __nonzero__