def set_vcs(self, repo):
    self.environment.vcs.name.set(repo.vcs)
    self.environment.vcs.version.set(repo.vcs_version)
def set_vcs(self, repo):
    self.environment.vcs.name.set(repo.vcs)
    self.environment.vcs.version.set(repo.vcs_version)