comparison mercurial/posix.py @ 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 d47749807464
children dacfcdd8b94e
comparison
equal deleted inserted replaced
34382:719a5c17e131 34383:ab687e06fe02
298 return False 298 return False
299 299
300 def checkosfilename(path): 300 def checkosfilename(path):
301 '''Check that the base-relative path is a valid filename on this platform. 301 '''Check that the base-relative path is a valid filename on this platform.
302 Returns None if the path is ok, or a UI string describing the problem.''' 302 Returns None if the path is ok, or a UI string describing the problem.'''
303 pass # on posix platforms, every path is ok 303 return None # on posix platforms, every path is ok
304 304
305 def setbinary(fd): 305 def setbinary(fd):
306 pass 306 pass
307 307
308 def pconvert(path): 308 def pconvert(path):