{"action":"opened","issue":{"url":"https://api.github.com/repos/VREMSoftwareDevelopment/rstats-cstats/issues/2","repository_url":"https://api.github.com/repos/VREMSoftwareDevelopment/rstats-cstats","labels_url":"https://api.github.com/repos/VREMSoftwareDevelopment/rstats-cstats/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/VREMSoftwareDevelopment/rstats-cstats/issues/2/comments","events_url":"https://api.github.com/repos/VREMSoftwareDevelopment/rstats-cstats/issues/2/events","html_url":"https://github.com/VREMSoftwareDevelopment/rstats-cstats/issues/2","id":178476599,"number":2,"title":"Now working for python 2.6","user":{"login":"pztop","id":17863484,"avatar_url":"https://avatars.githubusercontent.com/u/17863484?v=3","gravatar_id":"","url":"https://api.github.com/users/pztop","html_url":"https://github.com/pztop","followers_url":"https://api.github.com/users/pztop/followers","following_url":"https://api.github.com/users/pztop/following{/other_user}","gists_url":"https://api.github.com/users/pztop/gists{/gist_id}","starred_url":"https://api.github.com/users/pztop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pztop/subscriptions","organizations_url":"https://api.github.com/users/pztop/orgs","repos_url":"https://api.github.com/users/pztop/repos","events_url":"https://api.github.com/users/pztop/events{/privacy}","received_events_url":"https://api.github.com/users/pztop/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-21T22:18:45Z","updated_at":"2016-09-21T22:18:45Z","closed_at":null,"body":"I tried on a CentOS 6 with python 2.6 and the script failed:\r\n\r\n```\r\n#python rstats.py tomato_rstats_488b3939cdb9.gz \r\n>>>>>>>>>> Tomato USB RSTATS <<<<<<<<<<\r\nTraceback (most recent call last):\r\n  File \"rstats.py\", line 120, in <module>\r\n    main()\r\n  File \"rstats.p\", line 113, in main\r\n    RStats(args[0]).dump()\r\n  File \"rstats.py\", line 43, in __init__\r\n    with gzip.open(filename, 'rb') as fileHandle:\r\nAttributeError: GzipFile instance has no attribute '__exit__'\r\n```\r\n\r\nTired on Ubuntu 16.04 with python 2.7 and it works fine.\r\n"}}
{"actor":{"display_login":"pztop"}}