Make except clause compatible with Python 3 in scripts/targetcli

Signed-off-by: Christophe Vu-Brugier <cvubrugier@yahoo.fr>
Merge pull request #25 from cvubrugier/master

Make except clause compatible with Python 3 in scripts/targetcli