diff options
author | David Faure <faure@kde.org> | 2014-04-04 12:47:24 +0200 |
---|---|---|
committer | David Faure <faure@kde.org> | 2014-04-04 12:47:24 +0200 |
commit | 687aa0959a12b292951717b468ad3ec33a14f302 (patch) | |
tree | d29f620ce4a777f6059d8fcfafd1c3fc3e503b6a /web-export/update.py | |
parent | 3048968e19c2c4557f7843075dfa69c2964a7e15 (diff) | |
download | xdg-specs-687aa0959a12b292951717b468ad3ec33a14f302.tar.xz |
Remove support for CVS, now unused.
Diffstat (limited to 'web-export/update.py')
-rwxr-xr-x | web-export/update.py | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/web-export/update.py b/web-export/update.py index 8f3a3ef..8b9b6f0 100755 --- a/web-export/update.py +++ b/web-export/update.py @@ -29,7 +29,6 @@ import urlparse DEVELOPMENT = False -CVSWEB = 'http://cvs.freedesktop.org' GITWEB = 'http://cgit.freedesktop.org' HASH = 'md5' @@ -94,11 +93,6 @@ class VcsObject: path = '/'.join((self.repo, 'plain', self.file)) if self.revision: query['id'] = self.revision - elif self.vcs == 'cvs': - baseurl = CVSWEB - path = self.file - if self.revision: - query['rev'] = self.revision else: raise Exception('Unknown VCS: %s' % self.vcs) @@ -260,11 +254,11 @@ for line in lines: continue (data, revision, version, path) = line.split() + splitted_line = data.split(":") if data.startswith("git:"): - git_data = data.split(":") - vcs = VcsObject('git', git_data[1], git_data[2], revision) + vcs = VcsObject('git', splitted_line[1], splitted_line[2], revision) else: - vcs = VcsObject('cvs', None, data, revision) + vcs = VcsObject(splitted_line[0], None, data, revision) spec = SpecObject(vcs, path, version) |