2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 09:32:21 +00:00

Fix bug around pulling in img build info

This commit is contained in:
Jarrod Johnson 2021-09-02 12:11:48 -04:00
parent 63d9aea218
commit 558139d654

View File

@ -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=', '')