commit:     d86d8200817ee4b77e5d7a4bc552ec4711ed8638
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  6 09:48:54 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb  6 09:48:54 2016 +0000
URL:        
https://gitweb.gentoo.org/proj/eselect-python.git/commit/?id=d86d8200

update: Ignore Python 2 preference update requests

 python.eselect.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/python.eselect.in b/python.eselect.in
index 2bf6e30..e05bff1 100644
--- a/python.eselect.in
+++ b/python.eselect.in
@@ -362,7 +362,7 @@ describe_update() {
 describe_update_options() {
        echo "--if-unset    : do not alter preferences unless there is no valid 
preference set"
        echo "--ignore SLOT : ignore specified Python slots"
-       echo "--python2     : update only Python 2 preferences"
+       echo "--python2     : update only Python 2 preferences (ignored)"
        echo "--python3     : update only Python 3 preferences"
 }
 
@@ -379,6 +379,8 @@ do_update() {
                                ;;
                        --python2|--py2)
                                filter=--py2
+                               echo "Ignoring Python 2 preference update as 
non-meaningful"
+                               return 0
                                ;;
                        --python3|--py3)
                                filter=--py3

Reply via email to