summaryrefslogtreecommitdiffstats
path: root/meta/lib
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-26 13:38:15 +0000
commitcc4a75c7ebf24fb3b7b35552a090e8844985e45e (patch)
tree8da32669016b6ec145873ef6154d0f9025bda9ac /meta/lib
parent432d5a5481bd8efb848b95fbe6500a72fba9ac65 (diff)
downloadopenembedded-core-contrib-cc4a75c7ebf24fb3b7b35552a090e8844985e45e.tar.gz
lib/oe/patch.py: Fix the function comment
If it's not a patch the function returns nothing. Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-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 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))