bin: whitespace cleanup
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 14 Aug 2018 17:05:55 +0000 (18:05 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Thu, 16 Aug 2018 11:30:30 +0000 (12:30 +0100)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
bin/git_sha1_gen.py

index 68a87e72ec563ce6298fe025aead774f4d31a5a4..0ce839c98be39b61747ebd002857d3d4b70c9e71 100755 (executable)
@@ -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: