diff options
author | André Erdmann <dywi@mailerd.de> | 2014-07-14 21:19:36 +0200 |
---|---|---|
committer | André Erdmann <dywi@mailerd.de> | 2014-07-14 21:21:17 +0200 |
commit | c2532248e43506eb9988c2fb6c7413da250e8a3d (patch) | |
tree | 2b2b97856e3dc2b9397b97c149831d017c428543 /roverlay/packagerules | |
parent | addition control: packagedir.add_package() (diff) | |
download | R_overlay-c2532248e43506eb9988c2fb6c7413da250e8a3d.tar.gz R_overlay-c2532248e43506eb9988c2fb6c7413da250e8a3d.tar.bz2 R_overlay-c2532248e43506eb9988c2fb6c7413da250e8a3d.zip |
addition control: rename force-add=>force-replace
There's no real "force-add".
Diffstat (limited to 'roverlay/packagerules')
-rw-r--r-- | roverlay/packagerules/actions/addition_control.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/roverlay/packagerules/actions/addition_control.py b/roverlay/packagerules/actions/addition_control.py index 30145bd..577e884 100644 --- a/roverlay/packagerules/actions/addition_control.py +++ b/roverlay/packagerules/actions/addition_control.py @@ -16,8 +16,8 @@ from roverlay.overlay.abccontrol import AdditionControlResult ACTIONS = [ 'PackageAdditionControlDefaultAction', 'PackageAdditionControlForceDenyAction', - 'PackageAdditionControlForceAddAction', 'PackageAdditionControlDenyReplaceAction', + 'PackageAdditionControlForceReplaceAction', 'PackageAdditionControlRevbumpOnCollisionAction', ] @@ -64,11 +64,11 @@ class PackageAdditionControlForceDenyAction ( CONTROL_RESULT = AdditionControlResult.PKG_FORCE_DENY -class PackageAdditionControlForceAddAction ( +class PackageAdditionControlForceReplaceAction ( PackageAdditionControlActionBase ): - CONTROL_KEYWORD = "force-add" - CONTROL_RESULT = AdditionControlResult.PKG_FORCE_ADD + CONTROL_KEYWORD = "force-replace" + CONTROL_RESULT = AdditionControlResult.PKG_FORCE_REPLACE class PackageAdditionControlDenyReplaceAction ( |