[utils] Remove unused codes

This commit is contained in:
Yen Chi Hsuan 2015-12-02 16:48:49 +08:00
parent ef95dc7816
commit 7309cee4a0

View File

@ -2514,10 +2514,6 @@ class ISO3166Utils(object):
def g(s):
if gettext.textdomain() != 'youtube_dl':
gettext.textdomain('youtube_dl')
gettext.bindtextdomain('youtube_dl', localedir='share/locale/')
lang, _ = locale.getdefaultlocale()
try:
t = gettext.translation('youtube_dl', 'share/locale/', [lang])