cleanup
authorpeusterm <manuel.peuster@uni-paderborn.de>
Mon, 26 Jun 2017 11:46:39 +0000 (13:46 +0200)
committerpeusterm <manuel.peuster@uni-paderborn.de>
Tue, 11 Jul 2017 12:18:02 +0000 (14:18 +0200)
src/emuvim/api/openstack/compute.py

index be4324c..089293d 100755 (executable)
@@ -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))