From: peusterm Date: Mon, 26 Jun 2017 11:46:39 +0000 (+0200) Subject: cleanup X-Git-Tag: v3.1~17^2~14 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=17e377d1f78e596c32a755aa03316517370321c2;p=osm%2Fvim-emu.git cleanup --- diff --git a/src/emuvim/api/openstack/compute.py b/src/emuvim/api/openstack/compute.py index be4324c..089293d 100755 --- a/src/emuvim/api/openstack/compute.py +++ b/src/emuvim/api/openstack/compute.py @@ -528,7 +528,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))