Mercurial > public > mercurial-scm > hg
comparison mercurial/obsolete.py @ 34379:6b724caa878d
obsolete: remove superfluous pass statements
author | Augie Fackler <augie@google.com> |
---|---|
date | Sat, 30 Sep 2017 07:44:55 -0400 |
parents | 9fa874fb34e1 |
children | ddcef6d0b0ef |
comparison
equal
deleted
inserted
replaced
34378:acabbc5ccd24 | 34379:6b724caa878d |
---|---|
540 except OSError as inst: | 540 except OSError as inst: |
541 if inst.errno != errno.ENOENT: | 541 if inst.errno != errno.ENOENT: |
542 raise | 542 raise |
543 # just build an empty _all list if no obsstore exists, which | 543 # just build an empty _all list if no obsstore exists, which |
544 # avoids further stat() syscalls | 544 # avoids further stat() syscalls |
545 pass | |
546 return bool(self._all) | 545 return bool(self._all) |
547 | 546 |
548 __bool__ = __nonzero__ | 547 __bool__ = __nonzero__ |
549 | 548 |
550 @property | 549 @property |