comparison MPIWGFMManager.py @ 1:03cd09e9133e default tip

klein-grossschrift probleme behoben
author dwinter
date Fri, 03 May 2013 11:38:27 +0200
parents 957bcf42f206
children
comparison
equal deleted inserted replaced
0:957bcf42f206 1:03cd09e9133e
109 ret=[] 109 ret=[]
110 #fh = file("/usr/local/testzope13/Products/MPIWGFMManager/kalender.xml") 110 #fh = file("/usr/local/testzope13/Products/MPIWGFMManager/kalender.xml")
111 #root = ET.parse(fh); 111 #root = ET.parse(fh);
112 url="http://fm8-server.mpiwg-berlin.mpg.de/fmi/xml/fmresultset.xml?-db=Kalender&-lay=Eingabe&-findall" 112 url="http://fm8-server.mpiwg-berlin.mpg.de/fmi/xml/fmresultset.xml?-db=Kalender&-lay=Eingabe&-findall"
113 113
114 h =httplib2.Http(".cache") 114 h =httplib2.Http("/var/tmp/.cacheWWW")
115 if self.username is not None: 115 if self.username is not None:
116 h.add_credentials(self.username,self.password) 116 h.add_credentials(self.username,self.password)
117 117
118 logging.debug(self.url) 118 logging.debug(self.url)
119 resp, content = h.request(self.url) 119 resp, content = h.request(self.url)