AttributeError missing get on GeneratorContextManager when dragging file over window
Created originally on Bitbucket by Anonymous
I was dragging a README.md file in the root of a hg repository from a Windows explorer window to an IntelliJ IDEA window on a Windows 7 x64 machine, and the drag process went over the Tortoise window. I wasn't "using" Tortoise at the time, I was just dragging over it. I'm not sure which part of the window I was over when the bug report showed up.
#!python
** Mercurial version (4.6). TortoiseHg version (4.6)
** Command: --nofork workbench
** CWD: C:\a_source\pao-default
** Encoding: cp1252
** Extensions loaded: rebase, strip, convert, share, tortoisehg.util.configitems
** Python version: 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1')
** Processor architecture: x64
** Qt-5.9.2 PyQt-5.9.1 QScintilla-2.10.2.dev1711012104
Traceback (most recent call last):
File "tortoisehg\hgqt\repowidget.pyo", line 722, in dragEnterEvent
File "tortoisehg\hgqt\repowidget.pyo", line 712, in detectPatches
AttributeError: 'GeneratorContextManager' object has no attribute 'get'