# HG changeset patch # User Augie Fackler # Date 1506771918 14400 # Node ID ab687e06fe022784643064c163fbf2038961c7ce # Parent 719a5c17e1311e4bf384bc5a475f5565ec8e3d3c posix: replace superfluous pass statement with explicit return diff -r 719a5c17e131 -r ab687e06fe02 mercurial/posix.py --- 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