> This could also be written somewhat more compactly as:
> 
> def gen_actions_by_type(self, type):
>                  """Generate actions in the manifest of type "type"."""
> 
>                  return (a for a in self.actions_bytype.get(type,[]))

Good call.  I didn't realize that mapping types supported get too; I
thought it was just lists.

I've re-sync'd the webrev to include this change.

Thanks!

-j
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to