mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
Avoid newlines in git-svn RepoTrunk
This commit is contained in:
parent
355dabc43e
commit
d8d3f00e6b
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue