view bin/raw-url @ 7643:2a63de520960

<oerjan> learn A cipation is an evil scheme that only works if no one is prepared for it.
author HackBot
date Mon, 02 May 2016 03:42:06 +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]))