From 6f9f8e86ae4d4d1d909eb2ba3a80974e9bb650fa Mon Sep 17 00:00:00 2001 From: Dipti Date: Tue, 15 Dec 2020 13:10:38 -0800 Subject: [PATCH] debug output - small change --- py-json/LANforge/LFUtils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/py-json/LANforge/LFUtils.py b/py-json/LANforge/LFUtils.py index b7a6fb13..5ea2d86b 100644 --- a/py-json/LANforge/LFUtils.py +++ b/py-json/LANforge/LFUtils.py @@ -156,7 +156,8 @@ def port_dhcp_up_request(resource_id, port_name, debug_on=False): :param port_name: :return: """ - print("portDhcpUpRequest") + if (debug_on): + print("portDhcpUpRequest") data = { "shelf": 1, "resource": resource_id,