##// END OF EJS Templates
py3: drop an unnecessary fsencode() before comparing with constant...
Martin von Zweigbergk -
r44055:47d983f0 default
parent child Browse files
Show More
@@ -288,10 +288,7 b' def hgexecutable():'
288 288 _sethgexecutable(pycompat.sysexecutable)
289 289 elif (
290 290 not pycompat.iswindows
291 and os.path.basename(
292 pycompat.fsencode(getattr(mainmod, '__file__', ''))
293 )
294 == b'hg'
291 and os.path.basename(getattr(mainmod, '__file__', '')) == 'hg'
295 292 ):
296 293 _sethgexecutable(pycompat.fsencode(mainmod.__file__))
297 294 else:
General Comments 0
You need to be logged in to leave comments. Login now