Changeset 1080 in tailor


Ignore:
Timestamp:
03/31/06 01:20:39 (7 years ago)
Author:
lele@…
Hash name:
20060330232039-97f81-595f55ea6ba20461eb4d2e1c5524a31354e1530c
Message:

Catch also UnicodeDecodeError?, to present a proper message
This fixes #42.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vcpx/tailor.py

    r1076 r1080  
    143143                    return 
    144144            self.update() 
    145         except UnicodeEncodeError, exc: 
     145        except (UnicodeDecodeError, UnicodeEncodeError), exc: 
    146146            raise ConfigurationError('%s: it seems that the encoding ' 
    147147                                     'used by either the source ("%s") or the ' 
Note: See TracChangeset for help on using the changeset viewer.