mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 07:52:35 +03:00
Easier multiline strings
This commit is contained in:
parent
4e153cc60d
commit
4ad7e8be06
1 changed files with 3 additions and 3 deletions
|
@ -483,9 +483,9 @@ class vcs_git(vcs):
|
|||
|
||||
def latesttags(self, alltags, number):
|
||||
self.checkrepo()
|
||||
p = SilentPopen(['echo "' + '\n'.join(alltags) + '" | \
|
||||
xargs -I@ git log --format=format:"%at @%n" -1 @ | \
|
||||
sort -n | awk \'{print $2}\''],
|
||||
p = SilentPopen(['echo "' + '\n'.join(alltags) + '" | '
|
||||
+ 'xargs -I@ git log --format=format:"%at @%n" -1 @ | '
|
||||
+ 'sort -n | awk \'{print $2}\''],
|
||||
cwd=self.local, shell=True)
|
||||
return p.stdout.splitlines()[-number:]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue