1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-17 10:40:12 +02: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() self.checkrepo()
p = subprocess.Popen(['git', 'svn', 'find-rev', 'HEAD'], p = subprocess.Popen(['git', 'svn', 'find-rev', 'HEAD'],
stdout=subprocess.PIPE, cwd=self.local) stdout=subprocess.PIPE, cwd=self.local)
return p.communicate()[0] return p.communicate()[0].strip()
class vcs_svn(vcs): class vcs_svn(vcs):