diff options
author | Lars Wirzenius <liw@liw.fi> | 2010-07-07 08:41:18 +1200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2010-07-07 08:41:18 +1200 |
commit | c6071c10b8859f09f9cc7f0949d2fd7e3ad2d9c0 (patch) | |
tree | 84c3df7cadc9f6527735ef5c60e03f06c68c78fc /ttystatus/counter.py | |
parent | b15fcce5b6d2046e3419b3201e38667554de53fd (diff) | |
download | python-ttystatus-c6071c10b8859f09f9cc7f0949d2fd7e3ad2d9c0.tar.gz |
Speed things up further by pre-computing which widgets are interested in which key.
Diffstat (limited to 'ttystatus/counter.py')
-rw-r--r-- | ttystatus/counter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ttystatus/counter.py b/ttystatus/counter.py index a401d8d..770b5e7 100644 --- a/ttystatus/counter.py +++ b/ttystatus/counter.py @@ -26,7 +26,7 @@ class Counter(ttystatus.Widget): self.prev = None self.count = 0 self.value = '0' - self.interesting_keys = set([name]) + self.interesting_keys = [name] def update(self, master, width): if master[self.name] != self.prev: |