From b3a403c8f072fb6d409840d25f2776430faf0cba Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Wed, 2 May 2007 23:16:14 -0400 Subject: [PATCH] Fix more debug printout; print type not method itself --- shell/model/homeactivity.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/model/homeactivity.py b/shell/model/homeactivity.py index c061c0b5..15204274 100644 --- a/shell/model/homeactivity.py +++ b/shell/model/homeactivity.py @@ -71,7 +71,7 @@ class HomeActivity(gobject.GObject): """Callback for launch operation timeouts """ logging.debug("Activity %s (%s) launch timed out" % - (self._activity_id, self.get_type)) + (self._activity_id, self.get_type())) self._launch_timeout_id = 0 self.emit('launch-timeout') return False @@ -79,7 +79,7 @@ class HomeActivity(gobject.GObject): def set_window(self, window): """An activity is 'launched' once we get its window.""" logging.debug("Activity %s (%s) finished launching" % - (self._activity_id, self.get_type)) + (self._activity_id, self.get_type())) self._launched = True gobject.source_remove(self._launch_timeout_id) self._launch_timeout_id = 0