PyUtilib / pyutilib

A collection of general Python utilities, including logging and file IO, subprocess management, plugin systems, and workflow management.
BSD 3-Clause "New" or "Revised" License
34 stars 20 forks source link

ConfigBlock set_value should use __setitem__ #80

Closed michaelbynum closed 4 years ago

michaelbynum commented 4 years ago

Summary/Motivation:

I have a need to inherit from ConfigBlock and override __setitem__. Currently, set_value provides a way to bypass __setitem__. This PR updates set_value to use __setitem__.

Legal Acknowledgement

By contributing to this software project, I agree to the following terms and conditions for my contribution:

  1. I agree my contributions are submitted under the BSD license.
  2. I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.