Project

General

Profile

patch.diff

Emmanuel GARETTE, 05/29/2013 11:54 AM

Download (848 Bytes)

View differences:

/usr/lib/python2.7/dist-packages/creole/var_loader.py 2013-05-29 11:52:54.962673122 +0200
20 20
from tiramisu.setting import groups
21 21
from tiramisu.error import PropertiesOptionError
22 22

  
23
CONVERT_DATA = {IntOption: int, UnicodeOption: unicode}
23
CONVERT_DATA = {IntOption: int, UnicodeOption: unicode, DomainnameOption: unicode}
24 24

  
25 25
#mode order is important
26 26
modes_level = ('basic', 'normal', 'expert')
......
456 456
                        force_properties.append(value[2])
457 457
                    else:
458 458
                        continue
459
            if isinstance(opt, UnicodeOption):
460
                val = unicode(val)
459
            val = convert_value(val, type(opt))
461 460
            requires.append((opt, val, value[2], value[3]))
462 461
        return force_properties, requires
463 462