{"action":"created","issue":{"url":"https://api.github.com/repos/pyserial/pyserial/issues/28","labels_url":"https://api.github.com/repos/pyserial/pyserial/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/pyserial/pyserial/issues/28/comments","events_url":"https://api.github.com/repos/pyserial/pyserial/issues/28/events","html_url":"https://github.com/pyserial/pyserial/issues/28","id":114795773,"number":28,"title":"Compatibility to Python 2.6","user":{"login":"xavor92","id":7982749,"avatar_url":"https://avatars.githubusercontent.com/u/7982749?v=3","gravatar_id":"","url":"https://api.github.com/users/xavor92","html_url":"https://github.com/xavor92","followers_url":"https://api.github.com/users/xavor92/followers","following_url":"https://api.github.com/users/xavor92/following{/other_user}","gists_url":"https://api.github.com/users/xavor92/gists{/gist_id}","starred_url":"https://api.github.com/users/xavor92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xavor92/subscriptions","organizations_url":"https://api.github.com/users/xavor92/orgs","repos_url":"https://api.github.com/users/xavor92/repos","events_url":"https://api.github.com/users/xavor92/events{/privacy}","received_events_url":"https://api.github.com/users/xavor92/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-03T11:28:16Z","updated_at":"2015-12-16T02:04:10Z","closed_at":null,"body":"Hey,\r\n\r\nI'm developing using Python 2.7 but a user uses 2.6.\r\n\r\nSome Modules throw errors because the usage of the str.format() function:\r\nOn Python 2.7 an index between the {} is optional, on 2.6 it is not.\r\n\r\nI'm on my work PC without git so i can't submit the fix, and I also can't append a zip so you could merge, so sadly I can't do my part beside hinting you.\r\n\r\nTo fix:\r\nOpen IDE, search for every '{}' and replace with '{0}' (or '{0} - {1}') where needed.\r\n\r\nEg:\r\nYour __str__ from list_ports_common.py:\r\n\r\n    def __str__(self):\r\n        return '{} - {}'.format(self.device, self.description)\r\n\r\nMy version:\r\n\r\n    def __str__(self):\r\n        return '{0} - {1}'.format(self.device, self.description)\r\n\r\n\r\nI love your work! Keep it up!"},"comment":{"url":"https://api.github.com/repos/pyserial/pyserial/issues/comments/164963209","html_url":"https://github.com/pyserial/pyserial/issues/28#issuecomment-164963209","issue_url":"https://api.github.com/repos/pyserial/pyserial/issues/28","id":164963209,"user":{"login":"jrobeson","id":56908,"avatar_url":"https://avatars.githubusercontent.com/u/56908?v=3","gravatar_id":"","url":"https://api.github.com/users/jrobeson","html_url":"https://github.com/jrobeson","followers_url":"https://api.github.com/users/jrobeson/followers","following_url":"https://api.github.com/users/jrobeson/following{/other_user}","gists_url":"https://api.github.com/users/jrobeson/gists{/gist_id}","starred_url":"https://api.github.com/users/jrobeson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrobeson/subscriptions","organizations_url":"https://api.github.com/users/jrobeson/orgs","repos_url":"https://api.github.com/users/jrobeson/repos","events_url":"https://api.github.com/users/jrobeson/events{/privacy}","received_events_url":"https://api.github.com/users/jrobeson/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T02:04:10Z","updated_at":"2015-12-16T02:04:10Z","body":"ping @zsquareplusc  ?"}}