Pylint no-else-return refactoring: tenth (and so far last) set of files
[check_mk.git] / .werks / 4039
blob9bb5bad707c7ea70f74ba53f7df3990ee5bb5013
1 Title: Fix UnicodeEncodeError exception in WATO folder display
2 Level: 2
3 Component: wato
4 Class: fix
5 Compatible: compat
6 State: unknown
7 Version: 1.4.0i3
8 Date: 1478185543
10 This fixes the following exception, which happens in some situations
11 when using the WATO hosts management:
13 F+:
14 Traceback (most recent call last):
15 File "/omd/sites/heute/share/check_mk/web/htdocs/wato.py", line 263, in page_handler
16 modefunc("content")
17 File "/omd/sites/heute/share/check_mk/web/htdocs/wato.py", line 482, in mode_folder
18 show_hosts(folder)
19 File "/omd/sites/heute/share/check_mk/web/htdocs/wato.py", line 805, in show_hosts
20 table.cell(_("Permissions"), ", ".join(map(render_contact_group, permitted_groups)))
21 File "/omd/sites/heute/share/check_mk/web/htdocs/table.py", line 112, in cell
22 finish_previous()
23 File "/omd/sites/heute/share/check_mk/web/htdocs/table.py", line 83, in finish_previous
24 next_func(*next_args[0], **next_args[1])
25 File "/omd/sites/heute/share/check_mk/web/htdocs/table.py", line 119, in add_cell
26 text = str(text)
27 UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 60: ordinal not in range(128)
28 F-: