changeset 242:81f05202f1b4

Improve debug output when selecting a node
author Björn Ricks <bjoern.ricks@intevation.de>
date Tue, 09 Apr 2013 20:43:44 +0200
parents 024f3de92b2a
children 9bf0ad952c68
files getan/nodes.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/getan/nodes.py	Tue Apr 09 20:43:13 2013 +0200
+++ b/getan/nodes.py	Tue Apr 09 20:43:44 2013 +0200
@@ -47,9 +47,9 @@
                 self._w.set_attr_map({None: 'entry body'})
 
     def select(self):
-        logger.debug("Node: update selection of item '%s'"
-                     % self.item)
         self.selected = not self.selected
+        logger.debug("Node: update selection of item '%s' selected %s"
+                     % (self.item, self.selected))
         self._invalidate()
 
     def get_item(self):
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)