From 558139d65461051c67ff7ea0ddf07a6dc1c9b31e Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 2 Sep 2021 12:11:48 -0400 Subject: [PATCH] Fix bug around pulling in img build info --- imgutil/imgutil | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgutil/imgutil b/imgutil/imgutil index d8c31c23..e2fb93e0 100644 --- a/imgutil/imgutil +++ b/imgutil/imgutil @@ -967,7 +967,7 @@ def pack_image(args): distpath = None try: with open(imginfofile) as imginfoin: - imginfo = imginfoin.read.split('\n') + imginfo = imginfoin.read().split('\n') for lineinfo in imginfo: if lineinfo.startswith('BUILDSRC='): distpath = lineinfo.replace('BUILDSRC=', '')