Ignore:
Timestamp:
12/27/12 08:04:59 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

The exception strings are converted from UTF-8 to unicode for proper logging (re #170)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/config.py

    r392 r401  
    22
    33import const
    4 from util import secondaryInstallation
     4from util import secondaryInstallation, utf2unicode
    55
    66import os
     
    788788            self._modified = False
    789789        except Exception, e:
    790             print >> sys.stderr, "Failed to update config: " + str(e)
     790            print >> sys.stderr, "Failed to update config: " + \
     791                                 utf2unicode(str(e))
    791792
    792793    def _getBoolean(self, config, section, option, default):
Note: See TracChangeset for help on using the changeset viewer.