Permalink
Browse files

Merge pull request #12484 from milljm/no-git-12483

Return None instead of null string
  • Loading branch information...
permcody committed Nov 15, 2018
2 parents 6929343 + 622a15a commit ceb977b5b84148b53e3b35a8096609015ec05f7f
Showing with 1 addition and 1 deletion.
  1. +1 −1 framework/scripts/get_repo_revision.py
@@ -61,7 +61,7 @@ def gitSHA1(self, cwd=None):
self.SHA1 = shellCommand('git show ' + self.hideSignature() + ' -s --format=%h', cwd).strip()
self.is_git_repo = True
except: # subprocess.CalledProcessError:
self.SHA1 = ""
self.SHA1 = None
return self.SHA1

0 comments on commit ceb977b

Please sign in to comment.