[pywin32-checkins] /hgroot/pywin32/pywin32: Add missing 3rd arg to OpenKey (bug #35...
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: <pyw...@li...> - 2012-06-22 00:52:50
|
changeset c71db94c80b4 in /hgroot/pywin32/pywin32 details: http://pywin32.hg.sourceforge.net/hgweb/pywin32/pywin32/hgroot/pywin32/pywin32?cmd=changeset;node=c71db94c80b4 summary: Add missing 3rd arg to OpenKey (bug #3536122) diffstat: pywin32_postinstall.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r 153ff53992c6 -r c71db94c80b4 pywin32_postinstall.py --- a/pywin32_postinstall.py Mon Jun 04 18:58:32 2012 -0400 +++ b/pywin32_postinstall.py Thu Jun 21 20:49:58 2012 -0400 @@ -63,7 +63,7 @@ def get_root_hkey(): try: winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, - root_key_name, winreg.KEY_CREATE_SUB_KEY) + root_key_name, 0, winreg.KEY_CREATE_SUB_KEY) return winreg.HKEY_LOCAL_MACHINE except OSError, details: # Either not exist, or no permissions to create subkey means |