Call selected_shells() only once, to warn about missing shells only once.
commit6aeae5ac125108a9146a8d552cebf5497b6fb204
authorGuillaume Chazarain <guichaz@gmail.com>
Thu, 12 Jun 2008 20:24:55 +0000 (12 22:24 +0200)
committerGuillaume Chazarain <guichaz@gmail.com>
Thu, 12 Jun 2008 20:24:55 +0000 (12 22:24 +0200)
tree3f07a35346daf316a13e50ee7c324d93b212b20c
parent3929e2d0bcfb14f18e21540a255a104bcbffa781
Call selected_shells() only once, to warn about missing shells only once.
In the case where we would {dis,en}able everybody before {en,dis}abling someone,
don't do it if the selection turns to be empty.
gsh/control_commands_helpers.py