waf: Fix python3 issues.

- Found after updating to FreeBSD-12.0 which defaults to Python3.
This commit is contained in:
Chris Johns
2019-02-28 09:16:57 +11:00
parent 9c3a383193
commit 1599d9937a
2 changed files with 8 additions and 8 deletions

View File

@@ -142,7 +142,7 @@ class compliance:
self.data = None
def load(self, name):
with open(name, 'rb') as f:
with open(name, 'r') as f:
data = csv.reader(f, delimiter = ',', quotechar = '"')
hdr = None
rows = []