{"action":"opened","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/22792","labels_url":"https://api.github.com/repos/saltstack/salt/issues/22792/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/22792/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/22792/events","html_url":"https://github.com/saltstack/salt/issues/22792","id":69178533,"number":22792,"title":"Sphinx make failing because of a syntax error present in file","user":{"login":"nmadhok","id":3374962,"avatar_url":"https://avatars.githubusercontent.com/u/3374962?v=3","gravatar_id":"","url":"https://api.github.com/users/nmadhok","html_url":"https://github.com/nmadhok","followers_url":"https://api.github.com/users/nmadhok/followers","following_url":"https://api.github.com/users/nmadhok/following{/other_user}","gists_url":"https://api.github.com/users/nmadhok/gists{/gist_id}","starred_url":"https://api.github.com/users/nmadhok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmadhok/subscriptions","organizations_url":"https://api.github.com/users/nmadhok/orgs","repos_url":"https://api.github.com/users/nmadhok/repos","events_url":"https://api.github.com/users/nmadhok/events{/privacy}","received_events_url":"https://api.github.com/users/nmadhok/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-17T17:14:38Z","updated_at":"2015-04-17T17:14:38Z","closed_at":null,"body":"Sphinx make failing:\r\n\r\n```\r\nroot@nitin-salt-develop:~$ make html\r\nRunning Sphinx v1.3.1\r\nloading translations [en]... done\r\nloading pickled environment... done\r\nException occurred:\r\n  File \"/usr/lib/python2.6/site-packages/sphinx/ext/autosummary/__init__.py\", line 502, in _import_by_name\r\n    __import__(modname)\r\n  File \"/root/salt/salt/roster/clustershell.py\", line 41\r\n    host_addrs = {h: socket.gethostbyname(h) for h in hosts}\r\n                                               ^\r\nSyntaxError: invalid syntax\r\nThe full traceback has been saved in /tmp/sphinx-err-K6Gzqf.log, if you want to report the issue to the developers.\r\nPlease also report this if it was a user error, so that a better error message can be provided next time.\r\nA bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!\r\nmake: *** [html] Error 1\r\n```\r\n\r\nFull traceback:\r\n```\r\nroot@nitin-salt-develop:~/salt$ cat /tmp/sphinx-err-K6Gzqf.log\r\n# Sphinx version: 1.3.1\r\n# Python version: 2.6.6 (CPython)\r\n# Docutils version: 0.11 release\r\n# Jinja2 version: 2.7.3\r\n# Last messages:\r\n\r\n# Loaded extensions:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.6/site-packages/sphinx/cmdline.py\", line 244, in main\r\n    opts.warningiserror, opts.tags, opts.verbosity, opts.jobs)\r\n  File \"/usr/lib/python2.6/site-packages/sphinx/application.py\", line 188, in __init__\r\n    self._init_builder(buildername)\r\n  File \"/usr/lib/python2.6/site-packages/sphinx/application.py\", line 250, in _init_builder\r\n    self.emit('builder-inited')\r\n  File \"/usr/lib/python2.6/site-packages/sphinx/application.py\", line 497, in emit\r\n    results.append(callback(self, *args))\r\n  File \"/usr/lib/python2.6/site-packages/sphinx/ext/autosummary/__init__.py\", line 564, in process_generate_options\r\n    base_path=app.srcdir)\r\n  File \"/usr/lib/python2.6/site-packages/sphinx/ext/autosummary/generate.py\", line 131, in generate_autosummary_docs\r\n    name, obj, parent, mod_name = import_by_name(name)\r\n  File \"/usr/lib/python2.6/site-packages/sphinx/ext/autosummary/__init__.py\", line 473, in import_by_name\r\n    obj, parent, modname = _import_by_name(prefixed_name)\r\n  File \"/usr/lib/python2.6/site-packages/sphinx/ext/autosummary/__init__.py\", line 502, in _import_by_name\r\n    __import__(modname)\r\n  File \"/root/salt/salt/roster/clustershell.py\", line 41\r\n    host_addrs = {h: socket.gethostbyname(h) for h in hosts}\r\n                                               ^\r\nSyntaxError: invalid syntax\r\n```\r\n"}}