[OE-core] [PATCHv2 1/3] sanity: handle both \n and \\n in mirror vars

Martin Jansa martin.jansa at gmail.com
Tue Aug 26 10:59:15 UTC 2014


On Tue, Aug 26, 2014 at 12:51:49PM +0200, Martin Jansa wrote:
> On Mon, Aug 25, 2014 at 03:57:42PM -0700, Christopher Larson wrote:
> > From: Christopher Larson <chris_larson at mentor.com>
> > 
> > Signed-off-by: Christopher Larson <chris_larson at mentor.com>
> > ---
> >  meta/classes/sanity.bbclass | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
> > index dbcc26b..7cfc4be 100644
> > --- a/meta/classes/sanity.bbclass
> > +++ b/meta/classes/sanity.bbclass
> > @@ -759,7 +759,7 @@ def check_sanity_everybuild(status, d):
> >          'git://', 'gitsm://', 'hg://', 'osc://', 'p4://', 'svk://', 'svn://', \
> >          'bzr://', 'cvs://']
> >      for mir_type in mir_types:
> > -        mirros = (d.getVar(mir_type, True) or '').split('\\n')
> > +        mirros = (d.getVar(mir_type, True) or '').replace('\\n', '\n').split('\n')
> 
> Would you mind fixing the typo in variable name as well?

Nevermind, it's refactored in 3/3, sorry for noise.

> >          for mir in mirros:
> >              mir_list = mir.split()
> >              # Should be two members.
> > -- 
> > 1.8.3.4
> > 
> > -- 
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core at lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
> 
> -- 
> Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com



-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140826/3276d057/attachment-0002.sig>


More information about the Openembedded-core mailing list