Skip to content

fix hkey cleanup#192

Closed
rico-chet wants to merge 2 commits intopythonnet:developfrom
rico-chet:develop
Closed

fix hkey cleanup#192
rico-chet wants to merge 2 commits intopythonnet:developfrom
rico-chet:develop

Conversation

@rico-chet
Copy link
Copy Markdown
Contributor

fix for AttributeError: 'NoneType' object has no attribute 'Close', full Traceback (most recent call last):
File "", line 1, in
File "C:\Users\foo\AppData\Local\Temp\pip-clrr6blj-build\setup.py", line 99, in
_xbuild = ""%s"" % _find_msbuild_tool("msbuild.exe")
File "C:\Users\foo\AppData\Local\Temp\pip-clrr6blj-build\setup.py", line 77, in _find_msbuild_tool
hkey.Close()
AttributeError: 'NoneType' object has no attribute 'Close'

fix for AttributeError: 'NoneType' object has no attribute 'Close', full Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\foo\AppData\Local\Temp\pip-clrr6blj-build\setup.py", line 99, in <module>
        _xbuild = "\"%s\"" % _find_msbuild_tool("msbuild.exe")
      File "C:\Users\foo\AppData\Local\Temp\pip-clrr6blj-build\setup.py", line 77, in _find_msbuild_tool
        hkey.Close()
    AttributeError: 'NoneType' object has no attribute 'Close'
@tonyroberts
Copy link
Copy Markdown
Contributor

@rico-chet thanks, but please don't include merge commits when creating PRs

@tonyroberts
Copy link
Copy Markdown
Contributor

cherry-picked relevant commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants