From ca282231116fecb9fe1afd9d65e57ca41d59a50b Mon Sep 17 00:00:00 2001 From: Yen Chi Hsuan Date: Tue, 29 Dec 2015 03:35:55 +0800 Subject: [PATCH] [devscripts/i18n] Remove -j when regenerating youtube_dl.pot This option leave unnecessary comments in youtube_dl.pot --- devscripts/i18n.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devscripts/i18n.py b/devscripts/i18n.py index 3f72baeb7..94653dbeb 100644 --- a/devscripts/i18n.py +++ b/devscripts/i18n.py @@ -76,7 +76,7 @@ class I18N_Utils(object): old_pot_file = self.get_pot_filename() + '.old' shutil.copy2(pot_file, old_pot_file) cmds = [ - 'xgettext', '-d', self.GETTEXT_DOMAIN, '-j', '-k', '-ktr', '--from-code=utf-8', '-F', '-o', + 'xgettext', '-d', self.GETTEXT_DOMAIN, '-k', '-ktr', '--from-code=utf-8', '-F', '-o', pot_file] cmds.extend(glob.glob('youtube_dl/*.py') + glob.glob('youtube_dl/*/*.py')) self._run_subprocess(cmds)