def __init__(self, project, settings): Command.__init__(self) self.vcs_type = settings['vcs_type'] self.vcs_name = settings['vcs_name'] self.vcs_path = conf.getEnvironmentVcsPath(project.env_name, self.vcs_type, self.vcs_name) self.env_name = project.env_name self.hook_path = conf.getHooksDir() self.conf_path = conf.getConfDir() self.name = "CreateTracVersionControl"
def __init__(self, project): Command.__init__(self) self.env_name = project.env_name self.conf_path = conf.getConfDir() self.name = "CreateApacheConfig"