35c76e7098
commit messages are for code, not config I guess
15 lines
No EOL
242 B
Text
15 lines
No EOL
242 B
Text
# -*- mode: snippet -*-
|
|
# name: decorate
|
|
# uuid:
|
|
# key: decorate
|
|
# condition: t
|
|
# --
|
|
def wrap(inner):
|
|
@wraps(inner)
|
|
def wrapped(*args, **kwargs):
|
|
ret = inner(*args, **kwargs)
|
|
return ret
|
|
|
|
return wrapped
|
|
|
|
return wrap |