annotate bin/url @ 2255:2eed7a363c07

<elliott> addquote <tswett> Hey, what VPN software should I use? <boily> tswett: openvpn. the one, the only, the open, the other qualifiers that begin with "o".
author HackBot
date Tue, 26 Feb 2013 16:32:52 +0000
parents 7914d7e0b500
children 03afb1619ef2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2114
7914d7e0b500 <ais523> revert 87c64ef250a0
HackBot
parents: 2113
diff changeset
1 #!/usr/bin/env python
7914d7e0b500 <ais523> revert 87c64ef250a0
HackBot
parents: 2113
diff changeset
2 import sys, urllib
7914d7e0b500 <ais523> revert 87c64ef250a0
HackBot
parents: 2113
diff changeset
3 if len(sys.argv) <= 1:
7914d7e0b500 <ais523> revert 87c64ef250a0
HackBot
parents: 2113
diff changeset
4 print "http://codu.org/projects/hackbot/fshg/"
7914d7e0b500 <ais523> revert 87c64ef250a0
HackBot
parents: 2113
diff changeset
5 else:
7914d7e0b500 <ais523> revert 87c64ef250a0
HackBot
parents: 2113
diff changeset
6 print ("http://codu.org/projects/hackbot/fshg/index.cgi/raw-file/tip/" +
7914d7e0b500 <ais523> revert 87c64ef250a0
HackBot
parents: 2113
diff changeset
7 urllib.quote(sys.argv[1]))