diff options
author | Zuul <zuul@review.opendev.org> | 2022-01-18 04:13:45 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2022-01-18 04:13:45 +0000 |
commit | 15e3252910d45821a1f84622d54b946ab9127097 (patch) | |
tree | d1f99919f06eab699d15801574cb0ba23d0427f0 | |
parent | 855bd80ec8d1e37488faddf426c1c56917592687 (diff) | |
parent | b8cc0043d46318c7e11952109450587bee9567ab (diff) | |
download | horizon-15e3252910d45821a1f84622d54b946ab9127097.tar.gz |
Merge "Fix maximum recursion depth error when generating documentation"
-rw-r--r-- | horizon/tables/actions.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/horizon/tables/actions.py b/horizon/tables/actions.py index 25c452392..ad8945a4f 100644 --- a/horizon/tables/actions.py +++ b/horizon/tables/actions.py @@ -52,7 +52,10 @@ class BaseActionMetaClass(type): # Options of action are set as class attributes, loading them. options = {} if attrs: - options = attrs + # NOTE: It is required to create a new dict object + # to avoid a recursive reference when no parent class + # has 'base_options' attribute. + options = dict(attrs) # Iterate in reverse to preserve final order for base in bases[::-1]: |