1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-13 17:16:23 +01:00

print_buildlog: don't strip tabs

This commit is contained in:
Andreas Schwab 2014-03-15 22:27:33 +01:00
parent d243241b1c
commit 9ab3c5becc

View File

@ -5386,7 +5386,7 @@ def print_buildlog(apiurl, prj, package, repository, arch, offset=0, strip_time=
# to protect us against control characters
import string
all_bytes = string.maketrans('', '')
remove_bytes = all_bytes[:10] + all_bytes[11:32] # accept newlines
remove_bytes = all_bytes[:9] + all_bytes[11:32] # accept tabs and newlines
query = {'nostream' : '1', 'start' : '%s' % offset}
if last: