Skip to content
Snippets Groups Projects
Commit 6fa523a5 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

enable fixed 'applyConfigurableUsers()' with an environment variable

parent 1038d757
No related branches found
No related tags found
No related merge requests found
Package : Gaudi
Package manager : Marco Clemencic
! 2014-02-10 - Marco Clemencic
- Enable the fixed 'applyConfigurableUsers()' if the environment variable
GAUDI_FIXED_APPLY_CONF is set.
! 2014-02-10 - Marco Clemencic
- Allow switching between old 'applyConfigurableUsers()' (bug #103803) and the
new one (fixed the bug, but different order of execution).
......
......@@ -136,7 +136,9 @@ if __name__ == "__main__":
parser.add_option("--new-conf-user-apply", action="store_false",
dest="old_conf_user_apply",
help="use the new (correct) logic when applying "
"ConfigurableUsers (fixed bug #103803)")
"ConfigurableUsers (fixed bug #103803), can be "
"turned on also with the environment variable "
"GAUDI_FIXED_APPLY_CONF")
parser.add_option("-o", "--output", action = "store", type = "string",
help ="dump the configuration to a file. The format of "
"the options is determined by the extension of the "
......@@ -183,7 +185,8 @@ if __name__ == "__main__":
profilerExtraOptions = '',
preload = [],
ncpus = None,
old_conf_user_apply=True)
# the old logic can be turned off with an env variable
old_conf_user_apply='GAUDI_FIXED_APPLY_CONF' not in os.environ)
# replace .qmt files in the command line with their contained args
argv = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment