[Zope-CVS] CVS: Products/Zelenium/scripts - tinyWebClient.py:1.2
Chris Withers
chris at simplistix.co.uk
Sat Oct 1 17:19:17 EDT 2005
Update of /cvs-repository/Products/Zelenium/scripts
In directory cvs.zope.org:/tmp/cvs-serv21457
Modified Files:
tinyWebClient.py
Log Message:
Sort out inconsistent newlines.
=== Products/Zelenium/scripts/tinyWebClient.py 1.1.1.1 => 1.2 ===
--- Products/Zelenium/scripts/tinyWebClient.py:1.1.1.1 Fri Apr 15 14:48:44 2005
+++ Products/Zelenium/scripts/tinyWebClient.py Sat Oct 1 17:19:17 2005
@@ -1,16 +1,17 @@
-import sys
-import httplib
-
-if ( len(sys.argv) != 5 ):
- print "usage tinyWebClient.py [host] [port] [method] [path]"
-else:
- host = sys.argv[1]
- port = sys.argv[2]
- method = sys.argv[3]
- path = sys.argv[4]
-
- info = (host, port)
- print("%s:%s" % info)
- conn = httplib.HTTPConnection("%s:%s" % info)
- conn.request(method, path)
- print(conn.getresponse().msg)
\ No newline at end of file
+import sys
+import httplib
+
+if ( len(sys.argv) != 5 ):
+ print "usage tinyWebClient.py [host] [port] [method] [path]"
+else:
+ host = sys.argv[1]
+ port = sys.argv[2]
+ method = sys.argv[3]
+ path = sys.argv[4]
+
+ info = (host, port)
+ print("%s:%s" % info)
+ conn = httplib.HTTPConnection("%s:%s" % info)
+ conn.request(method, path)
+ print(conn.getresponse().msg)
+
More information about the Zope-CVS
mailing list