##// END OF EJS Templates
Fix for ticket https://bugs.launchpad.net/bugs/362458 Python 2.4 does not support a try/finally with a yield in the try. I have changed this to a try with an empty except, followed by the statement that was in the finally.

File last commit:

r0:6f629fcc
r1964:bd5930b7
Show More
postinst
13 lines | 219 B | text/plain | TextLexer
#!/bin/sh
set -e
OLD_MODDIR=/usr/lib/python2.2/site-packages/IPython
if [ $1 = "configure" ]; then
if [ -d $OLD_MODDIR ];then
echo "Removing old python2.2 modules"
rm -fr $OLD_MODDIR >&2
fi
fi
#DEBHELPER#