summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe
diff options
context:
space:
mode:
authorTomasz Dziendzielski <tomasz.dziendzielski@gmail.com>2019-01-26 12:36:10 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-27 13:05:17 +0000
commitad38a64a26fbd37cb1a452beae7e2316409729a0 (patch)
treef773a99eb58ff829be64ef792fa48c22fbb27fb4 /meta/lib/oe
parent083817577de9b55bf561c926a8948d0fc4988626 (diff)
downloadpoky-ad38a64a26fbd37cb1a452beae7e2316409729a0.tar.gz
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 <tomasz.dziendzielski@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe')
-rw-r--r--meta/lib/oe/patch.py2
1 files changed, 1 insertions, 1 deletions
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):
790 790
791 791
792def patch_path(url, fetch, workdir, expand=True): 792def patch_path(url, fetch, workdir, expand=True):
793 """Return the local path of a patch, or None if this isn't a patch""" 793 """Return the local path of a patch, or return nothing if this isn't a patch"""
794 794
795 local = fetch.localpath(url) 795 local = fetch.localpath(url)
796 base, ext = os.path.splitext(os.path.basename(local)) 796 base, ext = os.path.splitext(os.path.basename(local))