diff options
author | Eric Engestrom <[email protected]> | 2018-08-14 18:05:55 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2018-08-16 12:30:30 +0100 |
commit | c2e00f9eeea0185f87ad3076dfd35475d868da21 (patch) | |
tree | c989d37d1e4872111c3efbdc28cec1b02ca42d92 /bin/git_sha1_gen.py | |
parent | 011a811652c74dcc9f56506ebb6075e4bdfe6ef9 (diff) |
bin: whitespace cleanup
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to 'bin/git_sha1_gen.py')
-rwxr-xr-x | bin/git_sha1_gen.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/git_sha1_gen.py b/bin/git_sha1_gen.py index 68a87e72ec5..0ce839c98be 100755 --- a/bin/git_sha1_gen.py +++ b/bin/git_sha1_gen.py @@ -30,14 +30,14 @@ def get_git_sha1(): parser = argparse.ArgumentParser() parser.add_argument('--output', help='File to write the #define in', - required=True) + required=True) args = parser.parse_args() git_sha1 = os.environ.get('MESA_GIT_SHA1_OVERRIDE', get_git_sha1())[:10] if git_sha1: git_sha1_h_in_path = os.path.join(os.path.dirname(sys.argv[0]), - '..', 'src', 'git_sha1.h.in') - with open(git_sha1_h_in_path , 'r') as git_sha1_h_in: + '..', 'src', 'git_sha1.h.in') + with open(git_sha1_h_in_path, 'r') as git_sha1_h_in: new_sha1 = git_sha1_h_in.read().replace('@VCS_TAG@', git_sha1) if os.path.isfile(args.output): with open(args.output, 'r') as git_sha1_h: |