summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/podfix.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/podfix.bbclass b/meta/classes/podfix.bbclass
index 54fff6a0a2..cc8210a27e 100644
--- a/meta/classes/podfix.bbclass
+++ b/meta/classes/podfix.bbclass
@@ -16,6 +16,9 @@ python pod_strip_version() {
16 for root, dirs, files in os.walk(d.expand("${D}${mandir}")): 16 for root, dirs, files in os.walk(d.expand("${D}${mandir}")):
17 for filename in files: 17 for filename in files:
18 filename = os.path.join(root, filename) 18 filename = os.path.join(root, filename)
19 if not os.path.isfile(filename):
20 continue
21
19 with opener(filename, "rb") as manfile: 22 with opener(filename, "rb") as manfile:
20 manpage = manfile.read() 23 manpage = manfile.read()
21 m = bad_re.search(manpage) 24 m = bad_re.search(manpage)