Univention Bugzilla – Attachment 6028 Details for
Bug 28070
traceback when opening system setup modules
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
base.patch (text/plain), 531 bytes, created by
Florian Best
on 2014-07-29 10:53:41 CEST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2014-07-29 10:53:41 CEST
Size:
531 bytes
patch
obsolete
>Index: util.py >=================================================================== >--- util.py (Revision 52273) >+++ util.py (Arbeitskopie) >@@ -135,7 +135,12 @@ > # get timezone > if os.path.exists('/etc/timezone'): > with open('/etc/timezone') as fd: >- values['timezone'] = fd.readline().strip() >+ timezone = fd.readline().strip() >+ try: >+ timezone = timezone.decode('UTF-8') >+ except UnicodeDecodeError: >+ timezone = timezone.decode('ISO8859-1') >+ values['timezone'] = timezone > else: > values['timezone']='' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 28070
: 6028