From ce3d3581b025042ccdd738db440c8a0f96328791 Mon Sep 17 00:00:00 2001 From: peusterm Date: Mon, 26 Jun 2017 13:46:39 +0200 Subject: [PATCH] cleanup --- src/emuvim/api/openstack/compute.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/emuvim/api/openstack/compute.py b/src/emuvim/api/openstack/compute.py index ddb3c93..59d63bb 100755 --- a/src/emuvim/api/openstack/compute.py +++ b/src/emuvim/api/openstack/compute.py @@ -522,7 +522,6 @@ class OpenstackCompute(object): LOG.debug("Long server name: {}".format(name)) if len(name) > char_limit: # construct a short name - parts = name.split("_") name = name.replace("_vnf", "") name = name[-char_limit:].strip("-_ .") LOG.debug("Short server name: {}".format(name)) -- 2.25.1