513a35b503
Change-Id: Iae2ce3783bc2632b265641e286b4145373c7a226 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8478 Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
15 lines
No EOL
251 B
Text
15 lines
No EOL
251 B
Text
# -*- mode: snippet -*-
|
|
# name: decorate
|
|
# uuid: decorate
|
|
# key: decorate
|
|
# condition: t
|
|
# --
|
|
def wrap(inner):
|
|
@wraps(inner)
|
|
def wrapped(*args, **kwargs):
|
|
ret = inner(*args, **kwargs)
|
|
return ret
|
|
|
|
return wrapped
|
|
|
|
return wrap |