Source

SageTeX / py-and-sty.dtx

Diff from to

py-and-sty.dtx

 \ST@wsf{if _do_ver_check_ and sagetex.__version__.find('\ST@ver') == -1:}%
 \ST@wsf{ import sys}%
 \ST@wsf{ print '{0}.sage was generated with sagetex.sty version \ST@ver,'.format(sys.argv[0].split('.')[0])}%
-\ST@wsf{ print 'but is being processed by sagetex.py version {0}.'.format(join(sagetex.__version__.strip().strip('[').split()[0:2]))}%
+\ST@wsf{ print 'but is being processed by sagetex.py version {0}.'.format(join(sagetex.__version__.strip('[').split()[0:2]))}%
 \ST@wsf{ print 'SageTeX version mismatch! Exiting.'}%
 \ST@wsf{ sys.exit(int(1))}}%
 %    \end{macrocode}