From 56b467d7945273a6ca9ebf327a00cd939dc8a2f7 Mon Sep 17 00:00:00 2001 From: Greg Work Date: Mon, 2 Jul 2012 14:30:13 +0930 Subject: [PATCH] Fix excess whitespace --- tools/yaml2jmxtrans.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/yaml2jmxtrans.py b/tools/yaml2jmxtrans.py index b727dfe43d..98e1ec0ade 100755 --- a/tools/yaml2jmxtrans.py +++ b/tools/yaml2jmxtrans.py @@ -91,14 +91,14 @@ class HostSets(object): """ Simple access to host/query entries given in custom YAML format """ - + def __init__(self, host_sets): """ Initialize host sets from YAML format """ - + self.host_sets = {} - + for host_set in host_sets: set_entry = {'query_names' : host_set['query_names'], 'hosts' : host_set['hosts'] } @@ -126,7 +126,7 @@ def usage(): if len(sys.argv) != 2: usage() sys.exit(1) - + infile = open(sys.argv[1], 'r') yf = yaml.load(infile) query_port = yf['query_port']