{"action":"opened","issue":{"url":"https://api.github.com/repos/willthames/ansible-review/issues/61","repository_url":"https://api.github.com/repos/willthames/ansible-review","labels_url":"https://api.github.com/repos/willthames/ansible-review/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/willthames/ansible-review/issues/61/comments","events_url":"https://api.github.com/repos/willthames/ansible-review/issues/61/events","html_url":"https://github.com/willthames/ansible-review/issues/61","id":333765286,"node_id":"MDU6SXNzdWUzMzM3NjUyODY=","number":61,"title":"Python 3 support","user":{"login":"bmaupin","id":346123,"node_id":"MDQ6VXNlcjM0NjEyMw==","avatar_url":"https://avatars0.githubusercontent.com/u/346123?v=4","gravatar_id":"","url":"https://api.github.com/users/bmaupin","html_url":"https://github.com/bmaupin","followers_url":"https://api.github.com/users/bmaupin/followers","following_url":"https://api.github.com/users/bmaupin/following{/other_user}","gists_url":"https://api.github.com/users/bmaupin/gists{/gist_id}","starred_url":"https://api.github.com/users/bmaupin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmaupin/subscriptions","organizations_url":"https://api.github.com/users/bmaupin/orgs","repos_url":"https://api.github.com/users/bmaupin/repos","events_url":"https://api.github.com/users/bmaupin/events{/privacy}","received_events_url":"https://api.github.com/users/bmaupin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-19T17:20:32Z","updated_at":"2018-06-19T17:20:32Z","closed_at":null,"author_association":"NONE","body":"Hi, I'm running into the following error:\r\n\r\n    $ git ls-files | xargs ansible-review\r\n    Traceback (most recent call last):\r\n    File \"/usr/local/bin/ansible-review\", line 11, in <module>\r\n        sys.exit(main())\r\n    File \"/usr/local/lib/python3.5/dist-packages/ansiblereview/__main__.py\", line 57, in main\r\n        for key, value in settings.__dict__.iteritems():\r\n    AttributeError: 'dict' object has no attribute 'iteritems'\r\n\r\nThis seems to be the culprit:\r\n> `    for key, value in settings.__dict__.iteritems():`\r\nhttps://github.com/willthames/ansible-review/blob/master/lib/ansiblereview/__main__.py#L57\r\n\r\nThe all-knowing Stack Overflow seems to indicate this is related to Python 3:\r\n\r\n> As you are in python3 , use `dict.items()` instead of `dict.iteritems()`\r\n> `iteritems()` was removed in python3, so you can't use this method anymore.\r\nhttps://stackoverflow.com/a/30418498/399105\r\n\r\nDoes ansible-review support Python 3?\r\n\r\nIn case it helps, this is how I installed ansible-review:\r\n\r\n    $ sudo pip3 install ansible-review\r\n\r\nAnd some other relevant info:\r\n\r\n    $ ansible-review --version\r\n    ansible-review 0.13.4\r\n    $ python --version\r\n    Python 3.5.2\r\n\r\nThanks!"}}
{"actor":{"display_login":"bmaupin"}}