[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Fix reference to buf in parsing of ocaml escapes.



# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 688012fc0e79eea3c095fa8536376bc38d1c88eb
# Parent  58a04bfedf6be8065e10d2c36acbf03a4fb66062
Fix reference to buf in parsing of ocaml escapes.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/sxp.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 58a04bfedf6b -r 688012fc0e79 tools/python/xen/xend/sxp.py
--- a/tools/python/xen/xend/sxp.py      Wed Aug 09 09:52:43 2006 +0100
+++ b/tools/python/xen/xend/sxp.py      Wed Aug 09 10:13:34 2006 +0100
@@ -291,7 +291,7 @@ class Parser:
             raise ParseError(self, "unexpected EOF")
         elif '0' <= c <= '7':
             octaldigit(c)
-        elif len(self.buf):
+        elif len(self.state.buf):
             octaldone()
             self.input_char(c)
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.