module 'enum' has no attribute 'IntFlag when resolving with Meld
Created originally on Bitbucket by Anonymous
Hello,
On Fedora 26, I have meld installed and trying to use the Resolve Tool in a merge conflict ends with this error:
% hg resolve --repository /home/markand/dev/malikania.fr/malikania -- /home/markand/dev/malikania.fr/malikania/docs/CMakeLists.txt
merging docs/CMakeLists.txt
running merge tool meld for file docs/CMakeLists.txt
Traceback (most recent call last):
File "/usr/bin/meld", line 19, in <module>
import locale
File "/usr/lib64/python3.6/locale.py", line 16, in <module>
import re
File "/usr/lib64/python3.6/re.py", line 142, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
Running hg merge from command line works fine though.