bad characters in DomainnameOption could be in warning level
This commit is contained in:
@ -338,7 +338,7 @@ class Settings(object):
|
||||
return Property(self, self._getproperties(opt, path), opt, path)
|
||||
|
||||
def __setitem__(self, opt, value): # pragma: optional cover
|
||||
raise ValueError('you should only append/remove properties')
|
||||
raise ValueError(_('you should only append/remove properties'))
|
||||
|
||||
def reset(self, opt=None, _path=None, all_properties=False):
|
||||
if all_properties and (_path or opt): # pragma: optional cover
|
||||
|
Reference in New Issue
Block a user