add logger in validation

This commit is contained in:
2014-04-03 22:15:41 +02:00
parent 76a43a7ff9
commit da434a4273
2 changed files with 18 additions and 6 deletions

View File

@ -17,6 +17,7 @@
# ____________________________________________________________
from time import time
from copy import copy
from logging import getLogger
import weakref
from tiramisu.error import (RequirementError, PropertiesOptionError,
ConstError, ConfigError)
@ -99,6 +100,9 @@ rw_append = set(['frozen', 'disabled', 'validator', 'hidden'])
rw_remove = set(['permissive', 'everything_frozen', 'mandatory'])
log = getLogger('tiramisu')
# ____________________________________________________________
class _NameSpace(object):
"""convenient class that emulates a module