def execute(self, args):

        """Main module executor"""

        self.name = self.__self__

        rtn = 0

        if len(args) < 1:
            return self.usage()

        sub_cmd = args.pop(0)

        if sub_cmd == 'install':
            rtn = self.do_install()

        elif sub_cmd == 'status':
            rtn = self.do_status()

        elif sub_cmd == 'remove':
            rtn = self.do_remove()

        elif sub_cmd == 'upload':
            rtn = self.do_upload(args)

        else:
            print sub_cmd % "Sub-command '%s' not found!"
            rtn = self.usage()

        return rtn
dataset/ETHPy150Open jakev/dtf/src/dtf/core/cmds/client.py/client.execute/swapped operands of `%`