1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-13 02:30:11 +01:00

Avoid newlines in git-svn RepoTrunk

This commit is contained in:
Daniel Martí 2013-10-30 21:40:48 +01:00
parent 355dabc43e
commit d8d3f00e6b

View File

@ -295,7 +295,7 @@ class vcs_gitsvn(vcs):
self.checkrepo()
p = subprocess.Popen(['git', 'svn', 'find-rev', 'HEAD'],
stdout=subprocess.PIPE, cwd=self.local)
return p.communicate()[0]
return p.communicate()[0].strip()
class vcs_svn(vcs):