X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Femuvim%2Fcli%2Fmonitor.py;h=20bfc25cbe32c6ceb8257c93a308adfc1e8a2425;hb=1a6843a29e131df6719e5a859e1460d957879458;hp=79ff25be00bb389c4a55878f3677be1352240f04;hpb=f0701d5f9a780a2c11073fc78be87337dc441a08;p=osm%2Fvim-emu.git diff --git a/src/emuvim/cli/monitor.py b/src/emuvim/cli/monitor.py index 79ff25b..20bfc25 100755 --- a/src/emuvim/cli/monitor.py +++ b/src/emuvim/cli/monitor.py @@ -1,12 +1,13 @@ """ son-emu monitor CLI (c) 2016 by Manuel Peuster +Steven Van Rossem """ import argparse import pprint import zerorpc -import prometheus +from emuvim.cli import prometheus pp = pprint.PrettyPrinter(indent=4) @@ -30,7 +31,7 @@ class ZeroRpcClient(object): # call the local method with the same name as the command arg getattr(self, args["command"])(args) else: - print "Command not implemented." + print("Command not implemented.") def setup_metric(self, args): vnf_name = self._parse_vnf_name(args.get("vnf_name"))