mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
strip line ending
This commit is contained in:
parent
8903d0d53a
commit
252d594474
@ -15,7 +15,8 @@ if os.environ.get('release') != "true":
|
||||
stdin, stdout, stderr = popen3("git rev-parse --short HEAD --")
|
||||
error = stderr.read()
|
||||
if not error:
|
||||
minor_tag = ".%s-git" % stdout.read()
|
||||
git_tag = stdout.read()[:-1]
|
||||
minor_tag = ".%s-git" % git_tag
|
||||
except OSError:
|
||||
pass
|
||||
else:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user