summaryrefslogtreecommitdiffstats
path: root/meta/classes/oelint.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/oelint.bbclass')
-rw-r--r--meta/classes/oelint.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/oelint.bbclass b/meta/classes/oelint.bbclass
index 1b051ca..c4febc2 100644
--- a/meta/classes/oelint.bbclass
+++ b/meta/classes/oelint.bbclass
@@ -45,7 +45,7 @@ python do_lint() {
45 45
46 def findKey(path, key): 46 def findKey(path, key):
47 ret = True 47 ret = True
48 f = file('%s' % path, mode = 'r') 48 f = open('%s' % path, mode = 'r')
49 line = f.readline() 49 line = f.readline()
50 while line: 50 while line:
51 if line.find(key) != -1: 51 if line.find(key) != -1: