- vcsName = module.get('vcs', 'kde+git')
- if vcsName == 'kde+git':
- self.vcs = vcs.KDEGit(self.sourceFolder(), module['name'], module['version'])
- elif vcsName == 'kde+svn':
- self.vcs = vcs.KDESVN(self.sourceFolder(), module['svn-path'], module.get('versionName'))
+ vcsName = module['vcs']
+ if vcsName == 'git':
+ self.vcs = vcs.Git(self.sourceFolder(), module['name'], module['version'])
+ elif vcsName == 'svn':
+ self.vcs = vcs.SVN(self.sourceFolder(), module['svn-path'], module.get('versionName'))