Mercurial > repo
changeset 1810:50a542f0e95f
<oerjan> fetch http://oerjan.nvg.org/url
author | HackBot |
---|---|
date | Fri, 25 Jan 2013 20:27:04 +0000 |
parents | b1227497e7ba |
children | 2487660466ce |
files | url |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/url Fri Jan 25 20:27:04 2013 +0000 @@ -0,0 +1,6 @@ +#!/usr/bin/env python +import sys, urllib +arg = sys.argv(1) +if arg == None: print "http://codu.org/projects/hackbot/fshg/" +else: print urllib.quote( + "http://codu.org/projects/hackbot/fshg/index.cgi/raw-file/tip/" . arg)