[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] yet another package check (take 2)

On Thu, Dec 14, 2006 at 04:59:36PM +0000, Jan Beulich wrote:

> >How about
> >
> >if ! python -c 'import xml.dom.minidom' 2>/dev/null ; then
> >  echo
> >  echo " *** Check for python development environment FAILED"
> >  exit 1
> >else
> >  exit 0
> >fi
> Why not - I didn't invent the other method, I just cloned what we had for
> python-devel (which in turn I created based on suggestions from you and
> others). I'm not a python person at all, I just want understandable error
> messages when dependencies are missing instead of cryptic ones.

I'll put something like that in then.  I think SuSE are the only ones who
split minidom.py out from the main Python package, which is why you're having
the problem ;-)


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.