dsully/pykafka — pull request #16 by premal (2013-02-28 06:38:19+00:00)
Title: Exception was catching error codes instead of an exception class

I changed the except clause to catch IOError since catching the int error codes does not work. The same error codes are then checked to initiate a retry and reconnect.