From 9134880d55f814354d6b79b3ac91ad226d41381f Mon Sep 17 00:00:00 2001 From: David Wahlstrom Date: Wed, 3 Jun 2015 07:32:55 -0700 Subject: [PATCH] pep8 compliance for openstacK_vms.py --- i3pystatus/openstack_vms.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/i3pystatus/openstack_vms.py b/i3pystatus/openstack_vms.py index c22a5b5..d8da803 100644 --- a/i3pystatus/openstack_vms.py +++ b/i3pystatus/openstack_vms.py @@ -17,11 +17,11 @@ class Openstack_vms(IntervalModule): ("password", "Password for Openstack authentication (OS_PASSWORD)"), ("tenant_name", "Tenant/Project name to view (OS_TENANT_NAME)"), ("color", "Display color when non-active VMs are =< `threshold` " - "(default: #00FF00"), + "(default: #00FF00"), ("crit_color", "Display color when non-active VMs are => `threshold` " - "(default: #FF0000"), + "(default: #FF0000"), ("threshold", "Set critical indicators when non-active VM pass this " - "number (default: 0)"), + "number (default: 0)"), ("horizon_url", "When clicked, open this URL in a browser") ) required = ("auth_url", "password", "tenant_name", "username") @@ -29,7 +29,8 @@ class Openstack_vms(IntervalModule): crit_color = "#FF0000" threshold = 0 horizon_url = None - format = "{tenant_name}: {active_servers} active, {nonactive_servers} non-active" + format = "{tenant_name}: {active_servers} active, "\ + "{nonactive_servers} non-active" on_leftclick = "openurl"