[Twisted-Python] which dia error from lore
Itamar Shtull-Trauring
itamar at itamarst.org
Mon Mar 14 08:06:57 MST 2005
On Mon, 2005-03-14 at 12:55 +0000, Jp Calderone wrote:
> > - diaHack = not not os.popen('which dia').read()
> > + diaHack = not not os.popen('which dia 2>/dev/null').read()
> > except:
> > # That's a no, then.
> > diaHack = 0
>
> When does this happen, exactly? I don't have dia installed, either, and I'm not seeing any mktap output related to it.
We shouldn't be using "which dia" anyway, it's ugly and broken. Don't we
have a Python implementation of which() somewhere?
More information about the Twisted-Python
mailing list