changeset 1816:a911b3c32483

<oerjan> cat url.2 >bin/url
author HackBot
date Fri, 25 Jan 2013 20:41:10 +0000
parents 24a919a1a974
children 5655975341f6
files bin/url
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/bin/url	Fri Jan 25 20:40:59 2013 +0000
+++ b/bin/url	Fri Jan 25 20:41:10 2013 +0000
@@ -3,6 +3,5 @@
 if len(sys.argv) <= 1:
     print "http://codu.org/projects/hackbot/fshg/"
 else:
-    print urllib.quote(
-        "http://codu.org/projects/hackbot/fshg/index.cgi/raw-file/tip/"
-        + sys.argv[1])
+    print ("http://codu.org/projects/hackbot/fshg/index.cgi/raw-file/tip/" +
+        urllib.quote(sys.argv[1]))