Commits

Anonymous committed 9c5f657

Copy ReadOnlyDict before using it

  • Participants
  • Parent commits 9e9b9fb

Comments (0)

Files changed (1)

mozharness/mozilla/testing/testbase.py

                                     os.path.join(dirs['abs_work_dir'], 'tests'))
         tree_config_path = os.path.join(test_install_dir, 'config', 'mozharness_config.py')
         if os.path.isfile(tree_config_path):
-            rw_config = BaseConfig(config=self.config)
+            rw_config = BaseConfig(config=self.config.copy())
             rw_config.set_config(parse_config_file(tree_config_path))
             self.config = rw_config.get_read_only_config()