CMS 3D CMS Logo

relmon_authenticated_wget.py
Go to the documentation of this file.
1 #! /usr/bin/env python
2 ################################################################################
3 # RelMon: a tool for automatic Release Comparison
4 # https://twiki.cern.ch/twiki/bin/view/CMSPublic/RelMon
5 #
6 #
7 #
8 # Danilo Piparo CERN - danilo.piparo@cern.ch
9 #
10 ################################################################################
11 
12 from sys import argv,exit
13 from utils import wget
14 
15 if __name__=="__main__":
16  argc=len(argv)
17  if argc!=2:
18  print "Usage %prog url-to-fetch"
19  exit(1)
20 
21  url=argv[1]
22  wget(url)
def wget(url)
Definition: utils.py:447