Mercurial > hg
changeset 34383:ab687e06fe02
posix: replace superfluous pass statement with explicit return
author | Augie Fackler <augie@google.com> |
---|---|
date | Sat, 30 Sep 2017 07:45:18 -0400 |
parents | 719a5c17e131 |
children | b52f22d9afa5 |
files | mercurial/posix.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/posix.py Sat Sep 30 07:45:51 2017 -0400 +++ b/mercurial/posix.py Sat Sep 30 07:45:18 2017 -0400 @@ -300,7 +300,7 @@ def checkosfilename(path): '''Check that the base-relative path is a valid filename on this platform. Returns None if the path is ok, or a UI string describing the problem.''' - pass # on posix platforms, every path is ok + return None # on posix platforms, every path is ok def setbinary(fd): pass