mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 14:30:11 +01:00
Avoid newlines in git-svn RepoTrunk
This commit is contained in:
parent
355dabc43e
commit
d8d3f00e6b
@ -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):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user