From ad38a64a26fbd37cb1a452beae7e2316409729a0 Mon Sep 17 00:00:00 2001 From: Tomasz Dziendzielski Date: Sat, 26 Jan 2019 12:36:10 +0100 Subject: lib/oe/patch.py: Fix the function comment If it's not a patch the function returns nothing. (From OE-Core rev: cc4a75c7ebf24fb3b7b35552a090e8844985e45e) Signed-off-by: Tomasz Dziendzielski Signed-off-by: Richard Purdie --- meta/lib/oe/patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/lib/oe') diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py index 07a40fc50e..8c8e96a2dc 100644 --- a/meta/lib/oe/patch.py +++ b/meta/lib/oe/patch.py @@ -790,7 +790,7 @@ class UserResolver(Resolver): def patch_path(url, fetch, workdir, expand=True): - """Return the local path of a patch, or None if this isn't a patch""" + """Return the local path of a patch, or return nothing if this isn't a patch""" local = fetch.localpath(url) base, ext = os.path.splitext(os.path.basename(local)) -- cgit v1.2.3-54-g00ecf