diff options
author | mathieui <mathieui@mathieui.net> | 2011-11-07 19:38:37 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-11-08 00:47:56 +0100 |
commit | 9c688795d1c9381c71d0883285b357cdf21e2e37 (patch) | |
tree | ceef70db9c1dcd6a9fbdf83138b272e421c8e5d8 /src/tabs.py | |
parent | f2b228e692ae30b4cf80bb12cc1f64b1469766cd (diff) | |
download | poezio-9c688795d1c9381c71d0883285b357cdf21e2e37.tar.gz poezio-9c688795d1c9381c71d0883285b357cdf21e2e37.tar.bz2 poezio-9c688795d1c9381c71d0883285b357cdf21e2e37.tar.xz poezio-9c688795d1c9381c71d0883285b357cdf21e2e37.zip |
Removed "WARNING" debug messages, because they are irrelevant
Diffstat (limited to 'src/tabs.py')
-rw-r--r-- | src/tabs.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/tabs.py b/src/tabs.py index 67905c0f..d86b456c 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -118,13 +118,12 @@ class Tab(object): @state.setter def state(self, value): if not value in STATE_COLORS: - log.debug("WARNING: invalid value for tab state") - return + log.debug("Invalid value for tab state: %s" % value) elif STATE_PRIORITY[value] < STATE_PRIORITY[self._state] and \ value != 'current': - log.debug("WARNING: did not set status because of lower priority") - return - self._state = value + log.debug("Did not set status because of lower priority, asked: %s, kept: %s" % (value, self.state)) + else: + self._state = value @staticmethod def resize(scr): |