~pieq/checkbox/fix-1484872-env-variables-forced-to-non-international

Viewing all changes in revision 3979.

  • Committer: Pierre Equoy
  • Date: 2015-09-02 10:00:06 UTC
  • Revision ID: pierre.equoy@canonical.com-20150902100006-r9n4xqgcxsjbb06x
Force environment into non-internationalized values

Previously, get_execution_environment() method in ctrl.py would set LANG
variable to 'C.UTF-8' but would not do anything to LANGUAGE or LC_* variables.

We change this to make sure these variables are all set to empty strings in
order to force the system to use default (non-internationalized) values.

This allow us to use English regexp in scripts, even on non-English systems.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: