mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
posix: replace superfluous pass statement with explicit return
This commit is contained in:
parent
a7f25c02bf
commit
f33ab87734
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user