Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
from __future__ import absolute_import, unicode_literals


class CommandLog(object):
    """Report commands interacting with third party tools"""

    def __init__(self, env_log, list):
        self.envlog = env_log
        self.list = list

    def add_command(self, argv, output, retcode):
        data = {"command": argv, "output": output, "retcode": retcode}
        self.list.append(data)
        return data