summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/patch.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe/patch.py')
-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))