{"action":"created","issue":{"url":"https://api.github.com/repos/OpenKMIP/PyKMIP/issues/199","repository_url":"https://api.github.com/repos/OpenKMIP/PyKMIP","labels_url":"https://api.github.com/repos/OpenKMIP/PyKMIP/issues/199/labels{/name}","comments_url":"https://api.github.com/repos/OpenKMIP/PyKMIP/issues/199/comments","events_url":"https://api.github.com/repos/OpenKMIP/PyKMIP/issues/199/events","html_url":"https://github.com/OpenKMIP/PyKMIP/issues/199","id":188613517,"number":199,"title":"Fails pep8 test","user":{"login":"toothwalker","id":23388503,"avatar_url":"https://avatars.githubusercontent.com/u/23388503?v=3","gravatar_id":"","url":"https://api.github.com/users/toothwalker","html_url":"https://github.com/toothwalker","followers_url":"https://api.github.com/users/toothwalker/followers","following_url":"https://api.github.com/users/toothwalker/following{/other_user}","gists_url":"https://api.github.com/users/toothwalker/gists{/gist_id}","starred_url":"https://api.github.com/users/toothwalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toothwalker/subscriptions","organizations_url":"https://api.github.com/users/toothwalker/orgs","repos_url":"https://api.github.com/users/toothwalker/repos","events_url":"https://api.github.com/users/toothwalker/events{/privacy}","received_events_url":"https://api.github.com/users/toothwalker/received_events","type":"User","site_admin":false},"labels":[{"id":274025670,"url":"https://api.github.com/repos/OpenKMIP/PyKMIP/labels/potential%20bug","name":"potential bug","color":"bfd4f2","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-11-10T20:43:25Z","updated_at":"2016-11-11T21:45:14Z","closed_at":"2016-11-11T21:27:36Z","body":"kmip/services/kmip_client.py:228:15: F821 undefined name 'e'\r\n\r\n```\r\n        for host in self.host_list:\r\n            self.host = host\r\n            sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\r\n            self._create_socket(sock)\r\n            self.protocol = KMIPProtocol(self.socket)\r\n            try:\r\n                self.socket.connect((self.host, self.port))\r\n            except Exception as e:\r\n                self.logger.error(\"An error occurred while connecting to \"\r\n                                  \"appliance \" + self.host)\r\n                self.socket.close()\r\n            else:\r\n                return\r\n\r\n        self.socket = None\r\n        raise e\r\n```\r\nObviously on the last line \"raise e\", e is not in scope. I assume the last two lines should be moved into the expect block."},"comment":{"url":"https://api.github.com/repos/OpenKMIP/PyKMIP/issues/comments/260062765","html_url":"https://github.com/OpenKMIP/PyKMIP/issues/199#issuecomment-260062765","issue_url":"https://api.github.com/repos/OpenKMIP/PyKMIP/issues/199","id":260062765,"user":{"login":"PeterHamilton","id":8269688,"avatar_url":"https://avatars.githubusercontent.com/u/8269688?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterHamilton","html_url":"https://github.com/PeterHamilton","followers_url":"https://api.github.com/users/PeterHamilton/followers","following_url":"https://api.github.com/users/PeterHamilton/following{/other_user}","gists_url":"https://api.github.com/users/PeterHamilton/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterHamilton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterHamilton/subscriptions","organizations_url":"https://api.github.com/users/PeterHamilton/orgs","repos_url":"https://api.github.com/users/PeterHamilton/repos","events_url":"https://api.github.com/users/PeterHamilton/events{/privacy}","received_events_url":"https://api.github.com/users/PeterHamilton/received_events","type":"User","site_admin":false},"created_at":"2016-11-11T21:45:14Z","updated_at":"2016-11-11T21:45:14Z","body":"Glad to hear it. If you see any other errors like that pop up, definitely file more issues."}}
{"actor":{"display_login":"PeterHamilton"}}