# 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 list(self, args):
r = self.c.datacenter_list()
"Switch",
"# Containers",
"# Metadata Items"]
- print tabulate(table, headers=headers, tablefmt="grid")
+ print(tabulate(table, headers=headers, tablefmt="grid"))
def status(self, args):
r = self.c.datacenter_status(