From: Tomasz Dziendzielski Date: Sat, 26 Jan 2019 11:36:10 +0000 (+0100) Subject: lib/oe/patch.py: Fix the function comment X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad38a64a26fbd37cb1a452beae7e2316409729a0;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py index 07a40fc50e6..8c8e96a2dca 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))