##// END OF EJS Templates
util_win32: add missing valname param to query_val function
Lee Cantey -
r6012:e45de0f4 default
parent child Browse files
Show More
@@ -202,7 +202,7 b' def lookup_reg(key, valname=None, scope='
202 except ImportError:
202 except ImportError:
203 return None
203 return None
204
204
205 def query_val(scope, key):
205 def query_val(scope, key, valname):
206 try:
206 try:
207 keyhandle = OpenKey(scope, key)
207 keyhandle = OpenKey(scope, key)
208 return QueryValueEx(keyhandle, valname)[0]
208 return QueryValueEx(keyhandle, valname)[0]
General Comments 0
You need to be logged in to leave comments. Login now