From 2759f150b0502e05ac10ea3d3160f16ac9075105 Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Mon, 19 Oct 2015 08:49:46 +1100 Subject: [PATCH] Python 2.6 str.format does not support unindexed parameters --- compliance/test_fuzzingclient.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compliance/test_fuzzingclient.py b/compliance/test_fuzzingclient.py index 915389e..418f623 100644 --- a/compliance/test_fuzzingclient.py +++ b/compliance/test_fuzzingclient.py @@ -19,7 +19,7 @@ ws.close() for case in range(1, count+1): - url = SERVER + '/runCase?case={}&agent={}'.format(case, AGENT) + url = SERVER + '/runCase?case={0}&agent={1}'.format(case, AGENT) status = websocket.STATUS_NORMAL try: ws = websocket.create_connection(url) @@ -43,5 +43,5 @@ for case in range(1, count+1): ws.close(status) print("Ran {} test cases.".format(case)) -url = SERVER + '/updateReports?agent={}'.format(AGENT) +url = SERVER + '/updateReports?agent={0}'.format(AGENT) ws = websocket.create_connection(url)