PagerDuty / pdagent

The PagerDuty Agent is a program that lets you easily integrate your monitoring system with PagerDuty.

Home Page:http://www.pagerduty.com/docs/guides/agent-install-guide/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does pdagent still support Python2.6?

limitusus opened this issue · comments

This code should run only on >= Python2.7, since socket.create_connection() can receive up to 2 arguments in 2.6.
https://github.com/PagerDuty/pdagent/blob/master/pdagent/thirdparty/httpswithverify.py#L103-L104

You're correct that this was probably broken by using socket.create_connection() -- ideally we'd have fixed this sooner, but with the upcoming deprecation of Python 2 I'm inclined to close as wontfix.