Skip to content

Commit

Permalink
fix bug preventing the use of --empty option with validate
Browse files Browse the repository at this point in the history
  • Loading branch information
amangano-edx committed Oct 27, 2017
1 parent 287d232 commit 807e3af
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ Details of the config.yaml file are in `edx-platform/conf/locale/config.yaml

Changes
=======
v0.4.1
-------

* Fixes bug preventing the use of --empty with The validate command.

v0.4.0
-------

Expand Down
2 changes: 1 addition & 1 deletion i18n/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from . import config

__version__ = '0.4.0'
__version__ = '0.4.1'


class Runner:
Expand Down
2 changes: 1 addition & 1 deletion i18n/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def run(self, args):

if not languages:
# validate all languages
if validate_po_files(self.configuration, locale_dir, args.empty):
if validate_po_files(self.configuration, locale_dir, report_empty=args.empty):
exit_code = 1
else:
# languages will be a list of language codes; test each language.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name='edx-i18n-tools',
version='0.4.0',
version='0.4.1',
description='edX Internationalization Tools',
author='edX',
author_email='oscm@edx.org',
Expand Down

0 comments on commit 807e3af

Please sign in to comment.