From b09e213e69c585854d87d20e4c23a6aa2ed34c72 Mon Sep 17 00:00:00 2001 From: David Wahlstrom Date: Fri, 5 Jun 2015 06:48:52 -0700 Subject: [PATCH] makewatch: remove uneeded modules psutil is already included (line 25) and getpass is part of the stdlib. --- docs/conf.py | 3 +-- i3pystatus/makewatch.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index c45ffd7..062ea98 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -31,8 +31,7 @@ MOCK_MODULES = [ "notmuch", "requests", "bs4", - "novaclient.v2", - "psutil", "getpass" + "novaclient.v2" ] for mod_name in MOCK_MODULES: diff --git a/i3pystatus/makewatch.py b/i3pystatus/makewatch.py index 520d8c3..be3bd0f 100644 --- a/i3pystatus/makewatch.py +++ b/i3pystatus/makewatch.py @@ -13,7 +13,7 @@ class MakeWatch(IntervalModule): ("name", "Listen for a job other than 'make' jobs"), ("running_color", "Text color while the job is running"), ("idle_color", "Text color while the job is not running"), - "format", "idle_format" + "format", ) running_color = "#FF0000" # red idle_color = "#00FF00" # green