[oe-commits] [openembedded-core] 01/08: lib/oe/patch.py: Fix the function comment
git at git.openembedded.org
git at git.openembedded.org
Sat Jan 26 13:41:00 UTC 2019
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit cc4a75c7ebf24fb3b7b35552a090e8844985e45e
Author: Tomasz Dziendzielski <tomasz.dziendzielski at gmail.com>
AuthorDate: Sat Jan 26 12:36:10 2019 +0100
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 at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/lib/oe/patch.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py
index 07a40fc..8c8e96a 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))
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list