aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'roverlay/packagerules/actions/addition_control.py')
-rw-r--r--roverlay/packagerules/actions/addition_control.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/roverlay/packagerules/actions/addition_control.py b/roverlay/packagerules/actions/addition_control.py
index 48e4999..bd07a55 100644
--- a/roverlay/packagerules/actions/addition_control.py
+++ b/roverlay/packagerules/actions/addition_control.py
@@ -28,6 +28,8 @@ __all__ = ACTIONS
class PackageAdditionControlActionBase (
roverlay.packagerules.abstract.actions.PackageRuleAction
):
+ """Base class for addition control actions."""
+
KEYWORD = "add-policy"
CONTROL_KEYWORD = None
CONTROL_RESULT = None
@@ -56,6 +58,8 @@ class PackageAdditionControlActionBase (
class PackageAdditionControlDefaultAction (
PackageAdditionControlActionBase
):
+ """restore-default-behavior add-policy action"""
+
CONTROL_KEYWORD = "default"
CONTROL_RESULT = AdditionControlResult.PKG_DEFAULT_BEHAVIOR