From 0f88f8fe889ae4801fc8d5ece1ad51c5246718ac Mon Sep 17 00:00:00 2001 From: Martin Basti Date: Mon, 26 Sep 2016 14:08:17 +0200 Subject: Remove unused variables in the code This commit removes unused variables or rename variables as "expected to be unused" by using "_" prefix. This covers only cases where fix was easy or only one unused variable was in a module Reviewed-By: Florence Blanc-Renaud Reviewed-By: Stanislav Laznicka --- ipapython/dogtag.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipapython/dogtag.py') diff --git a/ipapython/dogtag.py b/ipapython/dogtag.py index 6f1388002..179ce6d68 100644 --- a/ipapython/dogtag.py +++ b/ipapython/dogtag.py @@ -113,7 +113,7 @@ def ca_status(ca_host=None): """ if ca_host is None: ca_host = api.env.ca_host - status, headers, body = http_request( + status, _headers, body = http_request( ca_host, 8080, '/ca/admin/ca/getStatus') if status == 503: # Service temporarily unavailable -- cgit