Commit 47d983f0 authored by Martin von Zweigbergk's avatar Martin von Zweigbergk
Browse files

py3: drop an unnecessary fsencode() before comparing with constant

Differential Revision:
parent ef43765c921d
......@@ -288,10 +288,7 @@
elif (
not pycompat.iswindows
and os.path.basename(
pycompat.fsencode(getattr(mainmod, '__file__', ''))
== b'hg'
and os.path.basename(getattr(mainmod, '__file__', '')) == 'hg'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment