else:
print_error("Internal portage error, terminating")
if len(e[0]):
print_error(e)
print_error(e[0])
sys.exit(2)
except ValueError, e:
if e and type(e[0]) == types.ListType: