aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2016-09-01 13:52:28 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2016-09-01 14:32:29 +0200
commit0ae5f5fc64868e8c68eb330fa5aa219abdbdfee0 (patch)
tree13752733622c83cc0af22999cb1bc547f00c4a37 /utils
parent470f573a3ac2eb1783efec6da01a3bee33360c65 (diff)
Switch print to logging.info
It follows the recommendations described in the next review [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/19795/ Change-Id: Ie7ce28451122c554f135caad068844c0303deaeb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'utils')
-rwxr-xr-xutils/openstack_clean.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/openstack_clean.py b/utils/openstack_clean.py
index 8aba763c..8e7dee8f 100755
--- a/utils/openstack_clean.py
+++ b/utils/openstack_clean.py
@@ -222,7 +222,7 @@ def remove_ports(neutron_client, ports, network_ids):
except:
logger.debug(" > WARNING: Port %s does not contain fixed_ips"
% port_id)
- print port
+ logger.info(port)
router_id = port['device_id']
if len(port['fixed_ips']) == 0 and router_id == '':
logger.debug("Removing port %s ..." % port_id)