Mercurial > repo
view bin/raw-url @ 9949:adc66c411517
<oerjan> slwd rules of wisdom//s,they,They,
author | HackBot |
---|---|
date | Mon, 12 Dec 2016 02:39:43 +0000 |
parents | 5a4571b62410 |
children | 024b7442d847 |
line wrap: on
line source
#!/usr/bin/env python import sys, urllib if len(sys.argv) <= 1: print "http://codu.org/projects/hackbot/fshg/" else: print ("http://codu.org/projects/hackbot/fshg/index.cgi/raw-file/tip/" + urllib.quote(sys.argv[1]))