diff options
author | Aleksey Filippov <alekseyf@google.com> | 2018-03-12 18:06:38 +0000 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-03-12 23:03:10 +0200 |
commit | fe215bb82675c3c83d3367ab7cfc39f5c785f6f9 (patch) | |
tree | 47a6f1df6fc4896043ac31287384f6776ec9ef16 | |
parent | 6585427a7d03e32770769863e1ae8902d4480745 (diff) | |
download | meson-fe215bb82675c3c83d3367ab7cfc39f5c785f6f9.zip meson-fe215bb82675c3c83d3367ab7cfc39f5c785f6f9.tar.gz meson-fe215bb82675c3c83d3367ab7cfc39f5c785f6f9.tar.bz2 |
Use os.path.dirname() instead of os.path.split(...)[0]
-rwxr-xr-x | ghwt.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -55,7 +55,7 @@ def unpack(sproj, branch, outdir): print(' expected:', dig) print(' obtained:', should) return 1 - spdir = os.path.split(outdir)[0] + spdir = os.path.dirname(outdir) ofilename = os.path.join(spdir, config['wrap-file']['source_filename']) with open(ofilename, 'wb') as ofile: ofile.write(us) |