commit c07486bcd78cd9c40f2e1a62a0da5e613a6afd92 Author: Damian Johnson atagar@torproject.org Date: Thu Oct 20 10:47:50 2016 -0700
Graph header continued to update when paused
When paused the top of the graph that shows the bandwidth numbers continued to update. --- nyx/panel/graph.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/nyx/panel/graph.py b/nyx/panel/graph.py index 9c76673..59b201c 100644 --- a/nyx/panel/graph.py +++ b/nyx/panel/graph.py @@ -103,7 +103,7 @@ class GraphData(object): self.tick = clone.tick self.values = copy.deepcopy(clone.values)
- self._category = clone._category + self._category = category self._is_primary = clone._is_primary self._in_process_value = dict(clone._in_process_value) self._max_value = dict(clone._max_value) @@ -200,8 +200,8 @@ class GraphCategory(object):
def __init__(self, clone = None): if clone: - self.primary = GraphData(clone.primary) - self.secondary = GraphData(clone.secondary) + self.primary = GraphData(clone.primary, category = self) + self.secondary = GraphData(clone.secondary, category = self) self.start_time = clone.start_time self._title_stats = list(clone._title_stats) self._primary_header_stats = list(clone._primary_header_stats)