Ignore:
Timestamp:
08/02/10 11:38:07 (14 years ago)
Author:
Malte Marquarding
Message:

forgot to add wraps_dec import

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/newfiller/python/logging.py

    r1797 r1808  
    33from asap.env import is_casapy
    44from asap._asap import LogSink, set_global_sink
     5try:
     6    from functools import wraps as wraps_dec
     7except ImportError:
     8    from asap.compatibility import wraps as wraps_dec
     9
    510
    611class _asaplog(object):
     
    4853asaplog = _asaplog()
    4954
    50 def print_log_dec(f, level):
     55def print_log_dec(f, level='INFO'):
    5156    @wraps_dec(f)
    5257    def wrap_it(*args, **kw):
Note: See TracChangeset for help on using the changeset viewer.