|
|
@@ -81,7 +81,7 @@ class RecordingXML(xml.sax.handler.ContentHandler): |
|
|
|
self.currec = {} |
|
|
|
|
|
|
|
def endElement(self, name): |
|
|
|
if name in dataels: |
|
|
|
if name in self.dataels: |
|
|
|
data = unescape(''.join(self.data)) |
|
|
|
self.currec[self.curel] = data |
|
|
|
elif name == 'record': |
|
|
@@ -211,6 +211,7 @@ class PYVR(Container): |
|
|
|
def doCheck(self, x): |
|
|
|
print 'doCheck:', self.page.status |
|
|
|
if self.page.status != '200': |
|
|
|
print 'foo' |
|
|
|
return reactor.callLater(.01, self.runCheck) |
|
|
|
|
|
|
|
self.lastcheck = time.time() |
|
|
|