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:
parent
63d9aea218
commit
558139d654
@ -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=', '')
|
||||
|
Loading…
Reference in New Issue
Block a user