diff options
author | Joe Guo <joeg@catalyst.net.nz> | 2018-07-30 18:21:29 +1200 |
---|---|---|
committer | Douglas Bagnall <dbagnall@samba.org> | 2018-08-24 07:49:30 +0200 |
commit | 115f2a71b883567dcf324da5cd02cfc3c86431b4 (patch) | |
tree | 1e9c657b58e2186fd03e4f7ad182b945970967a0 /python/examples | |
parent | fd6b2086cbf03d8dd0b46160f345bf7cc5551aeb (diff) | |
download | samba-115f2a71b883567dcf324da5cd02cfc3c86431b4.tar.gz |
PEP8: fix E305: expected 2 blank lines after class or function definition, found 1
Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'python/examples')
-rwxr-xr-x | python/examples/samr.py | 1 | ||||
-rwxr-xr-x | python/examples/winreg.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/python/examples/samr.py b/python/examples/samr.py index 521ea641610..c1af82105aa 100755 --- a/python/examples/samr.py +++ b/python/examples/samr.py @@ -106,6 +106,7 @@ def test_EnumDomains(samr, handle): test_domain_ops(samr, dom_handle) samr.Close(dom_handle) + if len(sys.argv) != 2: print "Usage: samr.js <BINDING>" sys.exit(1) diff --git a/python/examples/winreg.py b/python/examples/winreg.py index e419320b16f..eff9f5a6dc8 100755 --- a/python/examples/winreg.py +++ b/python/examples/winreg.py @@ -69,6 +69,7 @@ def list_path(key, path): list_values(subkey) return count + if len(args) > 1: root = args[1] else: |