[tor-commits] [nyx/master] Drop unused no-op function

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


commit a157afc862a36f146595e98185ec8bc66996e5ea
Author: Damian Johnson <atagar at torproject.org>
Date:   Thu Feb 11 22:15:07 2016 -0800

    Drop unused no-op function
---
 nyx/util/panel.py | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/nyx/util/panel.py b/nyx/util/panel.py
index 136fe85..bf16422 100644
--- a/nyx/util/panel.py
+++ b/nyx/util/panel.py
@@ -42,14 +42,6 @@ CONFIG = conf.config_dict('nyx', {
   'features.maxLineWrap': 8,
 }, conf_handler)
 
-
-# tags used by addfstr - this maps to functor/argument combinations since the
-# actual values (in the case of color attributes) might not yet be initialized
-
-def _no_op(arg):
-  return arg
-
-
 # prevents curses redraws if set
 HALT_ACTIVITY = False
 





More information about the tor-commits mailing list