1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-09 12:35:48 +01:00

Don't filter out \b,\v,\f,\r in logfiles

This commit is contained in:
Michael Schroeder 2015-05-07 15:51:51 +02:00
parent e4919568eb
commit f8f4119b88

View File

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