summaryrefslogtreecommitdiff
path: root/python/examples
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2017-03-09 15:11:08 +1300
committerAndrew Bartlett <abartlet@samba.org>2017-03-10 07:31:10 +0100
commitd424c7d5af0d36380b6a9d3046a542a70324e713 (patch)
tree5fe65c88da5487ee2c0cc99597db39a70da815cc /python/examples
parentb7cd0f2843f8695c087dc542358ac6ea0016a1d9 (diff)
downloadsamba-d424c7d5af0d36380b6a9d3046a542a70324e713.tar.gz
python/examples/winreg: two variable name typos on a single line
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'python/examples')
-rwxr-xr-xpython/examples/winreg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/examples/winreg.py b/python/examples/winreg.py
index 484a69b8424..442ee5435f9 100755
--- a/python/examples/winreg.py
+++ b/python/examples/winreg.py
@@ -73,7 +73,7 @@ else:
root = "HKLM"
if opts.createkey:
- reg.create_key("HKLM\\SOFTWARE", opt.createkey)
+ winreg.create_key("HKLM\\SOFTWARE", opts.createkey)
else:
print "Listing registry tree '%s'" % root
try: