1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-10 04:23:50 +03:00

PEP8: fix E302: expected 2 blank lines, 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>
This commit is contained in:
Joe Guo
2018-07-30 18:20:39 +12:00
committed by Douglas Bagnall
parent 542e91ef92
commit 211c9a5f85
180 changed files with 480 additions and 0 deletions

View File

@@ -41,6 +41,7 @@ def run_cmd(cmd, dir=".", show=True, output=False, checkfail=True):
else:
return call(cmd, shell=True, cwd=dir)
def find_git_root():
'''get to the top of the git repo'''
p = os.getcwd()
@@ -72,6 +73,7 @@ f.write("%s || exit 1\n" % opts.test_command)
f.write("exit 0\n")
f.close()
def cleanup():
run_cmd("git bisect reset", dir=gitroot)
os.unlink(f.name)