Mercurial > repo
comparison bin/raw-url @ 5643:56dcce63901b
<tswett> revert
author | HackBot |
---|---|
date | Sun, 21 Jun 2015 02:47:59 +0000 |
parents | 5a4571b62410 |
children | 024b7442d847 |
comparison
equal
deleted
inserted
replaced
5642:987c834ab84d | 5643:56dcce63901b |
---|---|
1 #!/usr/bin/env python | |
2 import sys, urllib | |
3 if len(sys.argv) <= 1: | |
4 print "http://codu.org/projects/hackbot/fshg/" | |
5 else: | |
6 print ("http://codu.org/projects/hackbot/fshg/index.cgi/raw-file/tip/" + | |
7 urllib.quote(sys.argv[1])) |