X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Femuvim%2Fcli%2Fmonitor.py;h=20bfc25cbe32c6ceb8257c93a308adfc1e8a2425;hb=902ca54a8e61d3f47ba7bc626153ae4cfa44023e;hp=79ff25be00bb389c4a55878f3677be1352240f04;hpb=2fdfbf4a18ef349aba8eacd5df17b4a1aeb68b74;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"))