summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/insane.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 41007f8e18..809aa457a1 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -578,7 +578,7 @@ def package_qa_check_license(workdir, d):
578 if (not beginline) and (not endline): 578 if (not beginline) and (not endline):
579 md5chksum = bb.utils.md5_file(srclicfile) 579 md5chksum = bb.utils.md5_file(srclicfile)
580 else: 580 else:
581 fi = open(srclicfile, 'r') 581 fi = open(srclicfile, 'rb')
582 fo = tempfile.NamedTemporaryFile(mode='wb', prefix='poky.', suffix='.tmp', delete=False) 582 fo = tempfile.NamedTemporaryFile(mode='wb', prefix='poky.', suffix='.tmp', delete=False)
583 tmplicfile = fo.name; 583 tmplicfile = fo.name;
584 lineno = 0 584 lineno = 0