posix: replace superfluous pass statement with explicit return

This commit is contained in:
Augie Fackler 2017-09-30 07:45:18 -04:00
parent a7f25c02bf
commit f33ab87734

View File

@ -300,7 +300,7 @@ def checklink(path):
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