[packages/rpm-build-tools/merge-pld-builder-client: 75/2675] - mention request mode

glen glen at pld-linux.org
Mon Dec 19 21:55:14 CET 2016


commit d35bca8c8f9db4c004ee16e7ef51a87a8e99527a
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sun May 31 13:13:30 2009 +0000

    - mention request mode
    
    Changed files:
        client/make-request.sh -> 1.58

 make-request.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/make-request.sh b/make-request.sh
index f39928e..91b8aa4 100644
--- a/make-request.sh
+++ b/make-request.sh
@@ -61,12 +61,12 @@ import sys, urllib2
 try:
         data = sys.stdin.read()
         req = urllib2.Request(sys.argv[1], data)
-        f = urllib2.urlopen(req, timeout=10)
+        f = urllib2.urlopen(req, timeout = 10)
         f.close()
 except Exception, e:
-        print >> sys.stderr, "Problem while sending request: %s" % e
+        print >> sys.stderr, "Problem while sending request via HTTP: %s" % e
         sys.exit(1)
-print >> sys.stdout, "Request queued."
+print >> sys.stdout, "Request queued via HTTP."
 ' "$url"
 		;;
 	esac
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/cca6584b96e6c33d0732d559e43e100d804e2ecd



More information about the pld-cvs-commit mailing list