##// END OF EJS Templates
Make set_term_title() default to no-op, as it can cause problems....
Make set_term_title() default to no-op, as it can cause problems. In embedded contexts this can corrupt stdout (e.g. gedit ipython plugin), by default ipython should be 'safe' to use in all contexts. The user-facing terminal app can activate more aggressive configurations as needed. Added an API call to actually toggle the state, and deprecated the old one (which could only disable but not enable).

File last commit:

r0:6f629fcc
r1852:37edbe78
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#