Fix FDroidPopen refactor typo

This commit is contained in:
Daniel Martí 2014-12-23 12:54:16 +01:00
parent 52c3bf46a5
commit e8fb3a143e

View file

@ -591,10 +591,10 @@ class vcs_git(vcs):
def latesttags(self, alltags, number):
self.checkrepo()
p = FDroidPopen(['echo "' + '\n'.join(alltags, output=False) + '" | '
p = FDroidPopen(['echo "' + '\n'.join(alltags) + '" | '
+ 'xargs -I@ git log --format=format:"%at @%n" -1 @ | '
+ 'sort -n | awk \'{print $2}\''],
cwd=self.local, shell=True)
cwd=self.local, shell=True, output=False)
return p.output.splitlines()[-number:]