diff browser_side/base_widget.py @ 334:9c6be29c714a

browser side: removed logging imports: it's not working correctly with pyjamas
author Goffi <goffi@goffi.org>
date Tue, 04 Feb 2014 16:49:20 +0100
parents 0b7934e75e76
children 2067d6241927
line wrap: on
line diff
--- a/browser_side/base_widget.py	Tue Feb 04 16:49:20 2014 +0100
+++ b/browser_side/base_widget.py	Tue Feb 04 16:49:20 2014 +0100
@@ -40,7 +40,6 @@
 from __pyjamas__ import doc
 
 import dialog
-import logging
 from tools import LiberviaDragWidget
 
 
@@ -215,7 +214,7 @@
         while current is not None and not isinstance(current, class_):
             current = Widget.getParent(current)
         if current is None and verbose:
-            logging.error("Can't find parent %s for %s" % (class_, self))
+            print "Can't find parent %s for %s" % (class_, self)
         return current
 
     def onClick(self, sender):