Functions | |
def | extract_list |
def | get_page |
Variables | |
string | action = "store_true" |
tuple | bcontent = basename(content) |
tuple | contents = extract_list(get_page(directory),server,options.show_url) |
default = False, | |
string | dest = "development" |
string | directory = "%s/dqm/%s/data/browse/%s" |
string | dirtolist = "" |
string | help = "Select the development GUI instance." |
tuple | lenargs = len(args) |
string | mode = "relval" |
tuple | parser = OptionParser(usage="usage: %prog [options] dirtolist") |
def relmon_rootfiles_spy::extract_list | ( | page_html, | |
the_server, | |||
display_url | |||
) |
Definition at line 36 of file relmon_rootfiles_spy.py.
00037 : 00038 contents=[] 00039 for line in page_html.split("<tr><td>")[1:]: 00040 name="" 00041 #link 00042 link_start=line.find("href='")+6 00043 link_end=line.find("'>") 00044 #name 00045 name_start=link_end+2 00046 name_end=line.find("</a>") 00047 if display_url: 00048 contents.append(the_server+line[link_start:link_end]) 00049 else: 00050 contents.append(line[name_start:name_end]) 00051 return contents
def relmon_rootfiles_spy::get_page | ( | url | ) |
Get the web page listing the rootfiles. Use the X509 auth.
Definition at line 52 of file relmon_rootfiles_spy.py.
string relmon_rootfiles_spy::action = "store_true" |
Definition at line 66 of file relmon_rootfiles_spy.py.
tuple relmon_rootfiles_spy::bcontent = basename(content) |
Definition at line 142 of file relmon_rootfiles_spy.py.
tuple relmon_rootfiles_spy::contents = extract_list(get_page(directory),server,options.show_url) |
Definition at line 131 of file relmon_rootfiles_spy.py.
string relmon_rootfiles_spy::default = False, |
Definition at line 68 of file relmon_rootfiles_spy.py.
string relmon_rootfiles_spy::dest = "development" |
Definition at line 67 of file relmon_rootfiles_spy.py.
string relmon_rootfiles_spy::directory = "%s/dqm/%s/data/browse/%s" |
Definition at line 129 of file relmon_rootfiles_spy.py.
list relmon_rootfiles_spy::dirtolist = "" |
Definition at line 118 of file relmon_rootfiles_spy.py.
string relmon_rootfiles_spy::help = "Select the development GUI instance." |
Definition at line 69 of file relmon_rootfiles_spy.py.
tuple relmon_rootfiles_spy::lenargs = len(args) |
Definition at line 113 of file relmon_rootfiles_spy.py.
string relmon_rootfiles_spy::mode = "relval" |
Definition at line 122 of file relmon_rootfiles_spy.py.
tuple relmon_rootfiles_spy::parser = OptionParser(usage="usage: %prog [options] dirtolist") |
Definition at line 63 of file relmon_rootfiles_spy.py.