Changeset 1815

Show
Ignore:
Timestamp:
08/02/07 00:21:43 (1 year ago)
Author:
arj..@yirdis.nl
Message:
  • Gaphas now requires decorator 2.2.
  • Fixed state.py for decorator 2.2.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gaphas/trunk/gaphas/state.py

    r1794 r1815  
    6161            pass 
    6262        return func(*args, **kwargs) 
    63     dec = decorator(wrapper, func) 
     63    dec = decorator(wrapper)(func) 
    6464     
    65     #dec.__doc__ = (dec.__doc__ or '') + OBSERVED_DOCSTRING 
    6665    func.__observer__ = dec 
    6766    if DISPATCH_BY_DEFAULT: 
  • gaphas/trunk/setup.py

    r1802 r1815  
    9292 
    9393    install_requires=[ 
    94      'decorator >= 2.0.1', 
     94     'decorator >= 2.2.0', 
    9595#    'PyGTK >= 2.8.0', 
    9696    ],