<p>In <a href="https://github.com/geany/geany/pull/890#discussion_r52639109">scripts/gen-api-gtkdoc.py</a>:</p>
<pre style='color:#555'>> +(opts,args) = parser.parse_args()
> +
> +xml_dir = args[0]
> +if (opts.outfile):
> +  outfile = open(opts.outfile, "w+")
> +else:
> +  outfile=sys.stdout
> +
> +if (opts.scioutfile):
> +  scioutfile = open(opts.scioutfile, "w+")
> +else:
> +  scioutfile = outfile
> +
> +if (outfile is None):
> +  sys.stderr.write("no output file\n")
> +  exit(1)
</pre>
<p>should also check <code>scioutfile</code></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/pull/890/files#r52639109">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ1_nivi5VAWsY91K5AK6p_AyZCMkks5pjMHPgaJpZM4HM9VD.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/pull/890/files#r52639109"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>