fetch/svn: fix typo in the svn:externals error handler
PATCH 1/1 fetch/svn: fix typo in the svn:externals error handler
From: WXbet <[email protected]>
The except branch swallowing a failed "svn propget svn:externals" call reads "passs". Python parses that as a name, so the handler raises a NameError instead of ignoring the error, and the original FetchError is lost. Introduced in 58097a59f ("fetch/svn: Convert to use lists of command arguments").
Signed-off-by WXbet <[email protected]>
--- lib/bb/fetch/svn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bb/fetch/svn.py +1 -1
@@ -165,7 +165,7 @@ class Svn(FetchMethod): else: bb.debug(1, "svn repository has externals:\n%s" % output) except bb.fetch.FetchError: - passs + pass scmdata = ud.parm.get("scmdata", "") if scmdata == "keep": tar_flags = []
Signature · 1 line
2.47.1.windows.1