From 17e377d1f78e596c32a755aa03316517370321c2 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 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)) -- 2.25.1