diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2018-04-18 08:57:12 +1200 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2018-05-04 23:57:53 +1200 |
commit | c183b360ff07673f00d0f4f224ced3c46fd87381 (patch) | |
tree | 471a1ce32ad8c0778058a915dfd0758b72dc8b3d /layerindex/update_layer.py | |
parent | 9ebc94a1df62f3d91ba8ef1160daeee529ee0c83 (diff) | |
download | openembedded-core-contrib-c183b360ff07673f00d0f4f224ced3c46fd87381.tar.gz |
admin: use more dynamic method of setting recipe read-only fields
Every time we add something that links to Recipe we had to add it to the
exclusions list in the readonly_fields line for RecipeAdmin (and
ClassicRecipeAdmin), which is tedious and easily forgotten. We can avoid
this by looking at each field and excluding it by its attributes rather
than having a hardcoded list of names.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'layerindex/update_layer.py')
0 files changed, 0 insertions, 0 deletions