Skip to content

Commit

Permalink
build.py: add cast to be able to use str.splitlines()
Browse files Browse the repository at this point in the history
Cast some variables  to str() to be able to use str.splitlines().

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
  • Loading branch information
dalgaaf committed May 26, 2013
1 parent e6f8a1a commit 9acda37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osc/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,7 @@ def __str__(self):
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:
Expand Down

0 comments on commit 9acda37

Please sign in to comment.