Comment 3 for bug 489839

Revision history for this message
Jakub Wilk (jwilk) wrote : Re: Bug#555361: hplip: Embedded code copy of python-pexpect

* Mark Purcell <email address hidden>, 2009-11-29, 21:22:
>import pexpect in two places:
>
>base/tui.py:import pexpect
>base/utils.py:import pexpect
>
>tui.py looks like:
># Std Lib
>import sys
>import re
>
># Local
>from g import *
>import pexpect
>import utils
>
>Do I need to move the "import pexpect" statement up to the Std Lib
>stanza or will it just look for the system version automatically?

No, no need to move anything.

>So if I don't install the obsolete hplip pexpect.py the python will
>automatically pick up the system version with the standard import
>stanza above?

That's right.

--
Jakub Wilk