Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

tortoise: fix read of debug registry items

Changeset 678ba41d2e79

Parent fb5ffa81966d

by Steve Borho

Changes to 2 files · Browse files at 678ba41d2e79 Showing diff from parent fb5ffa81966d Diff from another changeset...

 
17
18
19
20
 
21
22
23
 
17
18
19
 
20
21
22
23
@@ -17,7 +17,7 @@
  hkey = _winreg.OpenKey(_winreg.HKEY_CURRENT_USER,   r"Software\TortoiseHg", 0,   _winreg.KEY_ALL_ACCESS) - val = QueryValueEx(hkey, 'OverlayDebug')[0] + val = _winreg.QueryValueEx(hkey, 'OverlayDebug')[0]   if val in ('1', 'True'):   debugging = True   except EnvironmentError:
 
34
35
36
37
 
38
39
40
 
34
35
36
 
37
38
39
40
@@ -34,7 +34,7 @@
  hkey = _winreg.OpenKey(_winreg.HKEY_CURRENT_USER,   r"Software\TortoiseHg", 0,   _winreg.KEY_ALL_ACCESS) - val = QueryValueEx(hkey, 'ContextMenuDebug')[0] + val = _winreg.QueryValueEx(hkey, 'ContextMenuDebug')[0]   if val in ('1', 'True'):   debugging = True   except EnvironmentError: