Catch exceptions when calling curses.setupterm() in QA
Catch exceptions when calling curses.setupterm() in QA

If it's running on a non-standard terminal, such as
rxvt-unicode-256color, the call fails with an exception. Instead, catch
the exception and proceed without coloring warnings/errors.

Signed-off-by: Petr Pudlak <9d19625f8ee825a2c398462ed335cbcf98f79c32@google.com>
Reviewed-by: Klaus Aehlig <4ce51de36d9068cd7db2eec1151e0f3f95419008@google.com>

bitemyapp/ganeti,ganeti/ganeti,ganeti/ganeti,yiannist/ganeti,apyrgio/ganeti,yiannist/ganeti,ganeti-github-testing/ganeti-test-1,leshchevds/ganeti,ganeti-github-testing/ganeti-test-1,yiannist/ganeti,mbakke/ganeti,leshchevds/ganeti,mbakke/ganeti,leshchevds/ganeti,grnet/snf-ganeti,onponomarev/ganeti,andir/ganeti,onponomarev/ganeti,dimara/ganeti,dimara/ganeti,andir/ganeti,ganeti/ganeti,bitemyapp/ganeti,andir/ganeti,mbakke/ganeti,apyrgio/ganeti,grnet/snf-ganeti