[gestion/chsh.py] On affiche un shell par ligne plutôt que tout leur path contaténé ensemble.

This commit is contained in:
Valentin Samir 2013-02-13 15:10:25 +01:00
parent 85a0a08a3d
commit b6ab73498a

View file

@ -42,7 +42,7 @@ shells = [line.strip() for line in lines if not (line.startswith('#') or line.en
if not shell in shells:
print 'Shell invalide. Les shells valides sont :'
print ''.join(shells)
print '\n'.join(shells)
sys.exit(4)
adh.chsh(shell)