Make the except syntax Py3K compatible