[bitbake-devel] [PATCH v2] ast: Fix support for anonymous methods in wildcard .bbappend files

Jacob Kroon jacob.kroon at gmail.com
Sat Feb 22 18:24:48 UTC 2014


On Sat, Feb 22, 2014 at 7:12 PM, Khem Raj <raj.khem at gmail.com> wrote:

> On Sat, Feb 22, 2014 at 8:52 AM, Jacob Kroon <jacob.kroon at mikrodidakt.se>
> wrote:
> > +    tr_tbl = string.maketrans('/.+-@%', '______')
> > +
>
> why is this moved out
>

The translation table never changes, so instead of creating one on-the-fly
in each invocation, the idea was to keep and reuse the table in a class
variable.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20140222/48433e2b/attachment-0002.html>


More information about the bitbake-devel mailing list