Browse Source

debugging, and fix to dataels...

[git-p4: depot-paths = "//depot/": change = 1151]
replace/b43bf02ddeddd088c0e6b94974ca1a46562eb3db
John-Mark Gurney 17 years ago
parent
commit
7d78dc63c1
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      pyvr.py

+ 2
- 1
pyvr.py View File

@@ -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()


Loading…
Cancel
Save