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/
^doc/_build/
^TAGS
^\.tags
^\.ropeproject/
^env/
\.DS_Store$

View File

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