mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 00:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
083817577d
commit
ad38a64a26
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user