mirror of
https://github.com/openSUSE/osc.git
synced 2024-09-20 09:16:16 +02:00
build.py: add cast to be able to use str.splitlines()
Cast some variables to str() to be able to use str.splitlines(). Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
e6f8a1a7b3
commit
9acda37d5f
@ -939,7 +939,7 @@ def main(apiurl, opts, argv):
|
||||
print(b_built)
|
||||
|
||||
if opts.keep_pkgs:
|
||||
for i in b_built.splitlines() + s_built.splitlines():
|
||||
for i in str(b_built).splitlines() + str(s_built).splitlines():
|
||||
shutil.copy2(i, os.path.join(opts.keep_pkgs, os.path.basename(i)))
|
||||
|
||||
if bi_file:
|
||||
|
Loading…
Reference in New Issue
Block a user