Mercurial > hg > mercurial-source
diff mercurial/posix.py @ 35166: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 | d47749807464 |
children | dacfcdd8b94e |
line wrap: on
line diff
--- a/mercurial/posix.py +++ b/mercurial/posix.py @@ -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