merge with stable

This commit is contained in:
Georg Brandl
2014-09-19 10:36:34 +02:00
2 changed files with 2 additions and 1 deletions

View File

@@ -11,6 +11,7 @@
^Sphinx.egg-info/ ^Sphinx.egg-info/
^doc/_build/ ^doc/_build/
^TAGS ^TAGS
^\.tags
^\.ropeproject/ ^\.ropeproject/
^env/ ^env/
\.DS_Store$ \.DS_Store$

View File

@@ -608,7 +608,7 @@ class StandardDomain(Domain):
return make_refnode(builder, fromdocname, docname, return make_refnode(builder, fromdocname, docname,
labelid, contnode) labelid, contnode)
elif typ == 'option': elif typ == 'option':
progname = node['refprogram'] progname = node.get('refprogram', '')
docname, labelid = self.data['progoptions'].get((progname, target), docname, labelid = self.data['progoptions'].get((progname, target),
('', '')) ('', ''))
if not docname: if not docname: