[oe-commits] [openembedded-core] 21/28: podfix: only alter normal files
git at git.openembedded.org
git at git.openembedded.org
Sat Jan 11 11:07:03 UTC 2020
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch zeus
in repository openembedded-core.
commit dcbaf2a7a444f07ab516833f4ed4a2322828bddd
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Mon Dec 16 11:24:02 2019 +0000
podfix: only alter normal files
Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
(cherry picked from commit 23d38b2ad6f7a39e5c1ffd092322942474935c33)
Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
meta/classes/podfix.bbclass | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/classes/podfix.bbclass b/meta/classes/podfix.bbclass
index 54fff6a..cc8210a 100644
--- a/meta/classes/podfix.bbclass
+++ b/meta/classes/podfix.bbclass
@@ -16,6 +16,9 @@ python pod_strip_version() {
for root, dirs, files in os.walk(d.expand("${D}${mandir}")):
for filename in files:
filename = os.path.join(root, filename)
+ if not os.path.isfile(filename):
+ continue
+
with opener(filename, "rb") as manfile:
manpage = manfile.read()
m = bad_re.search(manpage)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list