##// END OF EJS Templates
py3: use native string as fallback value for __file__ for consistency...
Martin von Zweigbergk -
r44054:ef43765c default
parent child Browse files
Show More
@@ -289,7 +289,7 b' def hgexecutable():'
289 elif (
289 elif (
290 not pycompat.iswindows
290 not pycompat.iswindows
291 and os.path.basename(
291 and os.path.basename(
292 pycompat.fsencode(getattr(mainmod, '__file__', b''))
292 pycompat.fsencode(getattr(mainmod, '__file__', ''))
293 )
293 )
294 == b'hg'
294 == b'hg'
295 ):
295 ):
General Comments 0
You need to be logged in to leave comments. Login now