On Wed, Dec 9, 2009 at 1:11 AM, Marc Olzheim <[email protected]> wrote:

> On Tue, Dec 08, 2009 at 12:52:52PM -0700, Chris Larson wrote:
> > diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
> > index b2b237b..eacc7ac 100644
> > --- a/lib/bb/cooker.py
> > +++ b/lib/bb/cooker.py
> > @@ -838,23 +838,23 @@ class BBCooker:
> >          if not len(files):
> >              bb.msg.error(bb.msg.domain.Collection, "no files to build.")
> >
> > -        newfiles = []
> > +        newfiles = set()
> >          for f in files:
> >              if os.path.isdir(f):
> >                  dirfiles = self.find_bbfiles(f)
> >                  if dirfiles:
>
> So... Is it ok to use [Ss]ets and if so, what is the preferred way to
> ensure python version compatibility ? ;-)
>


This patch is against master, which requires python 2.6.  Regardless, 'set'
was added in 2.4, the sets module is only needed in 2.3.  Even bitbake 1.8
branch requires at least 2.4.  See
http://www.python.org/doc/2.4/whatsnew/node2.html.
-- 
Chris Larson
clarson at kergoth dot com
clarson at mvista dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Software Engineer
MontaVista Software, Inc.
_______________________________________________
Bitbake-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bitbake-dev

Reply via email to