[PATCH 12 of 17] obsolete: remove superfluous pass statements

Augie Fackler raf at durin42.com
Sat Sep 30 08:02:18 EDT 2017


# HG changeset patch
# User Augie Fackler <augie at google.com>
# 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__


More information about the Mercurial-devel mailing list