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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user