summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/packagedata.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe/packagedata.py')
-rw-r--r--meta/lib/oe/packagedata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/packagedata.py b/meta/lib/oe/packagedata.py
index 62fd71898e..14c38bdc0f 100644
--- a/meta/lib/oe/packagedata.py
+++ b/meta/lib/oe/packagedata.py
@@ -12,7 +12,7 @@ def read_pkgdatafile(fn):
12 12
13 if os.access(fn, os.R_OK): 13 if os.access(fn, os.R_OK):
14 import re 14 import re
15 f = file(fn, 'r') 15 f = open(fn, 'r')
16 lines = f.readlines() 16 lines = f.readlines()
17 f.close() 17 f.close()
18 r = re.compile("([^:]+):\s*(.*)") 18 r = re.compile("([^:]+):\s*(.*)")