mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
sstatesig: Warn on bad .netrc
If there is an error parsing .netrc, warn the user (From OE-Core rev: 47ea9418dfa31a87bc0014c482be5bfdc9df98e1) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
3b69367bc2
commit
df60c6d3ee
@@ -338,6 +338,8 @@ class SignatureGeneratorOEEquivHash(SignatureGeneratorOEBasicHashMixIn, bb.sigge
|
||||
self.username, _, self.password = auth
|
||||
except FileNotFoundError:
|
||||
pass
|
||||
except netrc.NetrcParseError as e:
|
||||
bb.warn("Error parsing %s:%d: %s" % (e.filename, e.lineno, e.msg))
|
||||
|
||||
# Insert these classes into siggen's namespace so it can see and select them
|
||||
bb.siggen.SignatureGeneratorOEBasicHash = SignatureGeneratorOEBasicHash
|
||||
|
||||
Reference in New Issue
Block a user