From: Adam Israel Date: Wed, 31 Oct 2018 20:59:51 +0000 (-0700) Subject: Fix FormatApplicationName X-Git-Tag: v5.0.0~5 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=commitdiff_plain;h=bf0b8e751a1a939cafc4a16bb2bc14752077bcf8 Fix FormatApplicationName Remove the @staticmethod decorator, which introduced some unintended behavior. Signed-off-by: Adam Israel --- diff --git a/n2vc/vnf.py b/n2vc/vnf.py index a60f36c..f2d0a1e 100644 --- a/n2vc/vnf.py +++ b/n2vc/vnf.py @@ -926,7 +926,6 @@ class N2VC: return config - @staticmethod def FormatApplicationName(self, *args): """ Generate a Juju-compatible Application name @@ -942,7 +941,6 @@ class N2VC: FormatApplicationName("ping_pong_ns", "ping_vnf", "a") """ - appname = "" for c in "-".join(list(args)): if c.isdigit():