Permalink
Browse files

Fixed building of developer documentation for NVDAHelper using "scons…

… devDocs_nvdaHelper" (#6378)
  • Loading branch information...
1 parent d690526 commit d2c42d5cdc77e67bb4f0d893a618a9cb8b7f985b @leonardder leonardder committed with jcsteh Oct 5, 2016
Showing with 3 additions and 1 deletion.
  1. +3 −1 site_scons/site_tools/doxygen.py
@@ -2,6 +2,8 @@
# Copyright (C) 2005, 2006 Matthew A. Nicholson
# Copyright (C) 2006 Tim Blechmann
#Copyright (C) 2011 Michael Curran
+#Copyright (C) 2014 Alberto Buffolino
+#Copyright (C) 2016 Babbage B.V.
#Based on code from http://www.scons.org/wiki/DoxygenBuilder
#
# This library is free software; you can redistribute it and/or
@@ -25,7 +27,7 @@
def fetchDoxygenPath():
try:
- with _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, r"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\doxygen_is1") as doxygenKey:
+ with _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, r"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\doxygen_is1", 0, _winreg.KEY_READ | _winreg.KEY_WOW64_64KEY) as doxygenKey:
doxygenPath= '"%s"'%os.path.join(_winreg.QueryValueEx(doxygenKey, "InstallLocation")[0], "Bin", "doxygen.exe")
except WindowsError:
return 'doxygen'

0 comments on commit d2c42d5

Please sign in to comment.