From 9031533c0c37d3b70ae37e7d0ef06c90f8f3a32f Mon Sep 17 00:00:00 2001 From: Samer Deeb Date: Mon, 12 Mar 2018 16:33:54 +0000 Subject: [PATCH] issue:36955 remove creating temp file for debug Signed-off-by: Samer Deeb --- lib/ansible/modules/network/onyx/onyx_linkagg.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/ansible/modules/network/onyx/onyx_linkagg.py b/lib/ansible/modules/network/onyx/onyx_linkagg.py index 426cb9df637..776d051677e 100644 --- a/lib/ansible/modules/network/onyx/onyx_linkagg.py +++ b/lib/ansible/modules/network/onyx/onyx_linkagg.py @@ -246,9 +246,6 @@ class OnyxLinkAggModule(BaseOnyxModule): lag_summary = self._get_port_channels(if_type) if lag_summary: self._parse_port_channels_summary(lag_type, lag_summary) - with open('/tmp/linagg.txt', 'w') as fp: - fp.write('current_config: %s\n' % self._current_config) - fp.write('required_config: %s\n' % self._required_config) def _get_interface_command_suffix(self, if_name): if if_name.startswith('Eth'):