changeset 372:564208366dd6

browser_side: fixed imports
author souliane <souliane@mailoo.org>
date Mon, 24 Feb 2014 13:43:49 +0100
parents d7870ab9d1ff
children 724a9a03ab02
files browser_side/card_game.py browser_side/contact.py browser_side/richtext.py libervia.py
diffstat 4 files changed, 3 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/browser_side/card_game.py	Sun Feb 23 17:22:05 2014 +0100
+++ b/browser_side/card_game.py	Mon Feb 24 13:43:49 2014 +0100
@@ -34,12 +34,7 @@
 from pyjamas import Window
 from pyjamas import DOM
 
-from pyjamas.ui.DragWidget import DragWidget, DragContainer
-from jid import JID
 from dialog import ConfirmDialog, InfoDialog
-from tools import html_sanitize
-from datetime import datetime
-from time import time
 from sat_frontends.tools.games import TarotCard
 import re
 
--- a/browser_side/contact.py	Sun Feb 23 17:22:05 2014 +0100
+++ b/browser_side/contact.py	Mon Feb 24 13:43:49 2014 +0100
@@ -31,7 +31,7 @@
 from browser_side.base_panels import PopupMenuPanel
 from browser_side.base_widget import DragLabel
 from browser_side.panels import ChatPanel, MicroblogPanel, WebPanel, UniBoxPanel
-from browser_side.tools import html_sanitize
+from browser_side.html_tools import html_sanitize
 from __pyjamas__ import doc
 
 
--- a/browser_side/richtext.py	Sun Feb 23 17:22:05 2014 +0100
+++ b/browser_side/richtext.py	Mon Feb 24 13:43:49 2014 +0100
@@ -33,7 +33,7 @@
 from dialog import ConfirmDialog, InfoDialog
 from base_panels import TitlePanel, BaseTextEditor, LightTextEditor
 from list_manager import ListManager
-from tools import html_sanitize
+from html_tools import html_sanitize
 import panels
 
 from sat_frontends.tools import composition
--- a/libervia.py	Sun Feb 23 17:22:05 2014 +0100
+++ b/libervia.py	Mon Feb 24 13:43:49 2014 +0100
@@ -32,7 +32,7 @@
 from browser_side import panels, dialog
 from browser_side.jid import JID
 from browser_side.xmlui import XMLUI
-from browser_side.tools import html_sanitize
+from browser_side.html_tools import html_sanitize
 from browser_side.notification import Notification
 
 from sat_frontends.tools.misc import InputHistory