brotchie/python-sty — pull request #1 by dmcdougall (2013-05-26 20:15:08+00:00)
Title: Fix return code parsing error

I got an error when compiling the following with `pdflatex -shell-escape eg.tex`. The error was:

```
(./eg.out) (./eg.out) [1{/opt/local/var/db/texmf/fonts/map/pdftex/updmap/pdftex
.map}pdfTeX warning (ext4): destination with the same identifier (name{equation
.2.2}) has been already used, duplicate ignored

\AtBegShi@Output ...ipout \box \AtBeginShipoutBox
\fi \fi
l.84 \begin{verbatim}
pdfTeX warning (ext4): destination with the same identifie
r (name{equation.2.2}) has been already used, duplicate ignored

\AtBegShi@Output ...ipout \box \AtBeginShipoutBox
\fi \fi
l.84 \begin{verbatim}
] [2] (./eg1.py.out)
! Missing number, treated as zero.

n
l.152 \end{python}

?
! Missing = inserted for \ifnum.

n
l.152 \end{python}

?
! Missing number, treated as zero.

n
l.152 \end{python}

?
! You can't use `\numexpr' in horizontal mode.
\ifnumcomp ...\ifnum \numexpr #1\relax #2\numexpr
#3\relax \expandafter \@fi...
l.152 \end{python}

?
[3] (./eg.aux) )