Deleted unused file (early implementation idea)
This commit is contained in:
parent
29b7bb1adf
commit
26bbf07d75
|
@ -1,22 +0,0 @@
|
||||||
import functools
|
|
||||||
import pprint
|
|
||||||
|
|
||||||
|
|
||||||
def start_timer_decorator(func):
|
|
||||||
@functools.wraps(func)
|
|
||||||
def wrapper_decorator(*args, **kwargs):
|
|
||||||
print("ib4get - start the timer, folks. \nargs:")
|
|
||||||
pprint.pprint(args)
|
|
||||||
print("kwargs: ")
|
|
||||||
pprint.pprint(kwargs)
|
|
||||||
value = func(*args, **kwargs)
|
|
||||||
print("after party woohoo")
|
|
||||||
|
|
||||||
try:
|
|
||||||
print("Starting timer on " + kwargs['guid'])
|
|
||||||
except KeyError as e:
|
|
||||||
print("NO GUID AVAILABLE")
|
|
||||||
|
|
||||||
return value
|
|
||||||
|
|
||||||
return wrapper_decorator
|
|
Loading…
Reference in New Issue