chiark / gitweb /
Fix FDroidPopen refactor typo
authorDaniel Martí <mvdan@mvdan.cc>
Tue, 23 Dec 2014 11:54:16 +0000 (12:54 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Tue, 23 Dec 2014 11:54:16 +0000 (12:54 +0100)
fdroidserver/common.py

index c93d4d7219e9201e32c5b23e516ee957e04052ff..72208f5baee9a5195da655568fae36496e10da00 100644 (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:]