From 51af4ccae6d5a9fa138fe5824cb038c0ea7ea78e Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Thu, 1 Aug 2013 13:02:17 +0200 Subject: [PATCH] - get rid of git command output when checking in which git package exists --- PLD_Builder/request.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PLD_Builder/request.py b/PLD_Builder/request.py index d4a35dd..9396394 100644 --- a/PLD_Builder/request.py +++ b/PLD_Builder/request.py @@ -221,7 +221,7 @@ class Batch: if self.is_command(): desc = "SH:
%s
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" -- 2.46.0