]> TLD Linux GIT Repositories - tld-builder.git/commitdiff
- get rid of git command output when checking in which git package exists
authorMarcin Krol <hawk@tld-linux.org>
Thu, 1 Aug 2013 11:02:17 +0000 (13:02 +0200)
committerMarcin Krol <hawk@tld-linux.org>
Thu, 1 Aug 2013 11:02:17 +0000 (13:02 +0200)
PLD_Builder/request.py

index d4a35dd839dcd1c9d46874325fe7d39ade620fc7..93963944788084c154805f6e26dce76060cfe880 100644 (file)
@@ -221,7 +221,7 @@ class Batch:
         if self.is_command():
             desc = "SH: <pre>%s</pre> flags: [%s]" % (self.command, ' '.join(self.command_flags))
         else:
-            cmd = "/usr/bin/git ls-remote --heads git://git.tld-linux.org/packages/%s" % (self.spec[:-5])
+            cmd = "/usr/bin/git ls-remote --heads git://git.tld-linux.org/packages/%s 1>/dev/null 2>&1" % (self.spec[:-5])
             r = call(cmd, shell=True)
             if r == 0:
                dist = "tld"