From 8847289c3e42e4cbd8cc2bbc9f42333c723c6762 Mon Sep 17 00:00:00 2001 From: Mostafa Hussein Date: Tue, 3 Jan 2017 14:56:49 +0200 Subject: [PATCH] remove commented code --- salt/netapi/rest_cherrypy/app.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/salt/netapi/rest_cherrypy/app.py b/salt/netapi/rest_cherrypy/app.py index ec06c7d49d..265f79cdd5 100644 --- a/salt/netapi/rest_cherrypy/app.py +++ b/salt/netapi/rest_cherrypy/app.py @@ -635,11 +635,6 @@ def salt_ip_verify_tool(): if rem_ip not in auth_ip_list: logger.error("Blocked IP: {0}".format(rem_ip)) raise cherrypy.HTTPError(403, 'Bad IP') - #cherrypy.response.status = 403 - #return { - # 'status': cherrypy.response.status, - # 'return': "Bad IP", - #} def salt_auth_tool():