From 088a82236f1d20a71417171960be46f45df3030a Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 27 Jan 2015 13:24:06 -0800 Subject: [PATCH] etcd_return.get_load(): fix str.join() call ************* Module salt.returners.etcd_return salt/returners/etcd_return.py:121: [E1121(too-many-function-args), get_load] Too many positional arguments for method call --- salt/returners/etcd_return.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/returners/etcd_return.py b/salt/returners/etcd_return.py index a71c933ced..c2b45740fd 100644 --- a/salt/returners/etcd_return.py +++ b/salt/returners/etcd_return.py @@ -118,7 +118,7 @@ def get_load(jid): Return the load data that marks a specified jid ''' client, path = _get_conn(__opts__) - return json.loads(client.get('/'.join(path, 'jobs', jid, '.load.p'))) + return json.loads(client.get('/'.join((path, 'jobs', jid, '.load.p')))) def get_jid(jid):