[tor-commits] [nyx/master] Drop unused get_last_redraw_time()

atagar at torproject.org atagar at torproject.org
Mon Feb 15 14:45:09 UTC 2016


commit 71bab1d655dcfb16b7607f8ce1df000775d8c786
Author: Damian Johnson <atagar at torproject.org>
Date:   Wed Feb 10 11:51:24 2016 -0800

    Drop unused get_last_redraw_time()
    
    The private attribute is still used in one spot internally, but method is
    unused.
---
 nyx/controller.py | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/nyx/controller.py b/nyx/controller.py
index a5f82a1..aadad15 100644
--- a/nyx/controller.py
+++ b/nyx/controller.py
@@ -382,14 +382,6 @@ class Controller:
 
     self._force_redraw = True
 
-  def get_last_redraw_time(self):
-    """
-    Provides the time when the content was last redrawn, zero if the content
-    has never been drawn.
-    """
-
-    return self._last_drawn
-
   def set_msg(self, msg = None, attr = None, redraw = False):
     """
     Sets the message displayed in the interfaces control panel. This uses our





More information about the tor-commits mailing list