Skip to content

Commit

Permalink
Restore reverted test-config target in securedrop/Makefile
Browse files Browse the repository at this point in the history
Had lost the change from iteritems->items.
  • Loading branch information
rmol committed Apr 17, 2019
1 parent be8df2e commit 1845b55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion securedrop/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ test-config: ## Generate the test config
python -c 'import os; from jinja2 import Environment, FileSystemLoader; \
env = Environment(loader=FileSystemLoader(".")); \
ctx = {"securedrop_app_gpg_fingerprint": "65A1B5FF195B56353CC63DFFCC40EF1228271441"}; \
ctx.update(dict((k, {"stdout":v}) for k,v in os.environ.iteritems())); \
ctx.update(dict((k, {"stdout":v}) for k,v in os.environ.items())); \
ctx = open("config.py", "w").write(env.get_template("config.py.example").render(ctx))'
@echo >> config.py
@echo "SUPPORTED_LOCALES = ['ar', 'de_DE', 'es_ES', 'en_US', 'el', 'fr_FR', 'it_IT', 'nb_NO', 'nl', 'pt_BR', 'tr', 'zh_Hant']" >> config.py
Expand Down

0 comments on commit 1845b55

Please sign in to comment.