# HG changeset patch # User Sylvain Thénault # Date 1377684860 -7200 # Node ID 4b3e657d17ab4645c25c823eac4e4ab3f9fca221 # Parent 4894bb92558a86ffffb465e7d2eb7cd3fcfbdc74 [source configuration] silent lgc 0.60 deprecation warning diff -r 4894bb92558a -r 4b3e657d17ab __pkginfo__.py --- a/__pkginfo__.py Tue Oct 15 14:02:22 2013 +0200 +++ b/__pkginfo__.py Wed Aug 28 12:14:20 2013 +0200 @@ -40,7 +40,7 @@ ] __depends__ = { - 'logilab-common': '>= 0.59.0', + 'logilab-common': '>= 0.60.0', 'logilab-mtconverter': '>= 0.8.0', 'rql': '>= 0.31.2', 'yams': '>= 0.37.0', diff -r 4894bb92558a -r 4b3e657d17ab server/sources/__init__.py --- a/server/sources/__init__.py Tue Oct 15 14:02:22 2013 +0200 +++ b/server/sources/__init__.py Wed Aug 28 12:14:20 2013 +0200 @@ -183,7 +183,7 @@ elif value is not None: # type check try: - value = configuration.convert(value, optdict, optname) + value = configuration._validate(value, optdict, optname) except Exception as ex: msg = unicode(ex) # XXX internationalization raise ValidationError(eid, {role_name('config', 'subject'): msg})