changeset 332:6abd099c7007

browser side: sat_frontends.tools.xml is now called xmltools
author Goffi <goffi@goffi.org>
date Tue, 04 Feb 2014 16:49:20 +0100
parents 06a48d805547
children c01397d18026
files browser_side/tools.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/browser_side/tools.py	Tue Feb 04 17:09:00 2014 +0100
+++ b/browser_side/tools.py	Tue Feb 04 16:49:20 2014 +0100
@@ -23,7 +23,7 @@
 from pyjamas.ui.FileUpload import FileUpload
 from pyjamas import Window
 from nativedom import NativeDOM
-from sat_frontends.tools import xml
+from sat_frontends.tools import xmltools
 
 dom = NativeDOM()
 
@@ -36,7 +36,7 @@
 def inlineRoot(xhtml):
     """ make root element inline """
     doc = dom.parseString(xhtml)
-    return xml.inlineRoot(doc)
+    return xmltools.inlineRoot(doc)
 
 
 def setPresenceStyle(item, state, base_style="contact"):