oops
This commit is contained in:
parent
96703c23c8
commit
ff89c1d8e4
2
setup.py
2
setup.py
@ -313,7 +313,7 @@ def get_vcs_rev_defines():
|
|||||||
rev = f.read()
|
rev = f.read()
|
||||||
except NotADirectoryError:
|
except NotADirectoryError:
|
||||||
gitloc = open('.git').read()
|
gitloc = open('.git').read()
|
||||||
with open(os.path.join(gitloc, '/refs/heads/master')) as f:
|
with open(os.path.join(gitloc, 'refs/heads/master')) as f:
|
||||||
rev = f.read()
|
rev = f.read()
|
||||||
|
|
||||||
ans.append('KITTY_VCS_REV="{}"'.format(rev.strip()))
|
ans.append('KITTY_VCS_REV="{}"'.format(rev.strip()))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user