From: Tomasz Dziendzielski Date: Sat, 26 Jan 2019 11:36:10 +0000 (+0100) Subject: lib/oe/patch.py: Fix the function comment X-Git-Tag: uninative-2.4~518 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=cc4a75c7ebf24fb3b7b35552a090e8844985e45e;p=openembedded-core.git lib/oe/patch.py: Fix the function comment If it's not a patch the function returns nothing. Signed-off-by: Tomasz Dziendzielski Signed-off-by: Richard Purdie --- 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))