[Pkg-isocodes-devel] [iso-codes] 01/04: Remove special handling for TP
Dr. Tobias Quathamer
toddy at debian.org
Tue Oct 24 15:13:50 UTC 2017
This is an automated email from the git hooks/post-receive script.
toddy pushed a commit to branch master
in repository iso-codes.
commit cfdb16c100de8b6572037138ea5d615043aa5c81
Author: Dr. Tobias Quathamer <toddy at debian.org>
Date: Tue Oct 24 17:11:23 2017 +0200
Remove special handling for TP
---
bin/iso-codes-merge.py | 8 --------
1 file changed, 8 deletions(-)
diff --git a/bin/iso-codes-merge.py b/bin/iso-codes-merge.py
index 3b27dd0..0168c7f 100755
--- a/bin/iso-codes-merge.py
+++ b/bin/iso-codes-merge.py
@@ -100,14 +100,6 @@ class Isocodes(object):
self.tmpfiles = []
def _getUrl(self, domain, lang):
- # Convert domains to old style for downloading
- domain = domain.replace("-", "_")
- if domain == "iso_3166_1":
- domain = "iso_3166"
- if domain == "iso_639_2":
- domain = "iso_639"
- if domain == "iso_639_5":
- domain = "iso_639-5"
return "http://translationproject.org/latest/%s/%s.po" % (domain, lang)
def _msgfmt(self, fname):
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-isocodes/iso-codes.git
More information about the Pkg-isocodes-devel
mailing list