Can you give me an example of what this list of tuples would
look
like? I just want to make sure I'm passing things around
correctly.
-Jared
On 10/6/06, Jack Neely <jjneely gmail.com> wrote:
> Jared,
>
> There is some code in there to work with PySQLite's
iterable objects
> that it returns. It doesn't return a normal list but a
class that
> acts like a list or that can be accessed like a
dictionary. Many parts
> of the code were sensitive to the difference so the
results from
> fetchall() are dumped into a real list there. The DB
API 2.0 dictates
> that fetchall returns a list like object so this code
should not
> impact other compliant DB APIs.
>
> Otherwise, solveDependancy() returns a list of tuples
containing n, v,
> r, e, a, and size. Where the package idicated by the
tuple will
> provide the needed requirement that was passed in to
> solveDependancy().
>
> Jack
>
> On 10/5/06, Jared Greenwald <jared.greenwald oracle.com> wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > I was attempting to install an entire update using
current the other day
> > and I ran into problems with solving deps. I
tracked it down to the end
> > of db.currentdb.solveDependencies where the result
is read from the db
> > query and then reversed and made into a dict of
lists (I think).
> > Anyway, it seems from what I'm seeing (and also
from the comment just
> > above that) that this code is for pysqlite.
Anyway, in the end the
> > function is returning a null set and I'm wondering
why. More
> > importantly, what is it supposed to be returning??
> >
> > Thanks,
> > Jared
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.5 (GNU/Linux)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> >
> >
iD8DBQFFJVzku4z7XptgTUYRAhwSAKCa41rf1WzpIxuiyh/9y+ern0B1AwCg
tEpn
> > P56HO6esJ2fZ5ZI4Efrs4OY=
> > =kPvU
> > -----END PGP SIGNATURE-----
> >
> >
------------------------------------------------------------
---------
> > To unsubscribe, e-mail: dev-unsubscribe current.tigris.org
> > For additional commands, e-mail: dev-help current.tigris.org
> >
> >
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribe current.tigris.org
> For additional commands, e-mail: dev-help current.tigris.org
>
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe current.tigris.org
For additional commands, e-mail: dev-help current.tigris.org
|