pld-builder.new: client/make-request.sh - mention request mode

glen glen at pld-linux.org
Sun May 31 15:13:36 CEST 2009


Author: glen                         Date: Sun May 31 13:13:36 2009 GMT
Module: pld-builder.new               Tag: HEAD
---- Log message:
- mention request mode

---- Files affected:
pld-builder.new/client:
   make-request.sh (1.57 -> 1.58) 

---- Diffs:

================================================================
Index: pld-builder.new/client/make-request.sh
diff -u pld-builder.new/client/make-request.sh:1.57 pld-builder.new/client/make-request.sh:1.58
--- pld-builder.new/client/make-request.sh:1.57	Wed May 20 09:31:12 2009
+++ pld-builder.new/client/make-request.sh	Sun May 31 15:13:30 2009
@@ -61,12 +61,12 @@
 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
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-builder.new/client/make-request.sh?r1=1.57&r2=1.58&f=u



More information about the pld-cvs-commit mailing list