]> TLD Linux GIT Repositories - tld-builder.git/blobdiff - PLD_Builder/request.py
- get rid of git command output when checking in which git package exists
[tld-builder.git] / 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"