From 7e49de077ec71511efdf2a417072368b1b5ac135 Mon Sep 17 00:00:00 2001 From: jortel Date: Mon, 11 Jul 2011 21:10:25 +0000 Subject: use the available 'root' variable provided in r707 commit. --- suds/sax/document.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suds/sax/document.py b/suds/sax/document.py index b5ba22f..170858f 100644 --- a/suds/sax/document.py +++ b/suds/sax/document.py @@ -70,7 +70,7 @@ class Document(Element): s.append(self.DECL) root = self.root() if root is not None: - s.append(self.root().plain()) + s.append(root.plain()) return ''.join(s) def __str__(self): -- cgit v1.2.1