Loading ccnode/utils.py +0 −13 Changes for ccnode/utils.py: 0 added lines, 13 removed lines. Original line number Diff line number Diff line import signal def signal_(signum): """Decorate a function to register as a handler to the signal.""" def decorator(func): signal.signal(signum, func) return func return decorator def and_(iter): """Do an and logic condition over the iterable element. Loading Loading
ccnode/utils.py +0 −13 Changes for ccnode/utils.py: 0 added lines, 13 removed lines. Original line number Diff line number Diff line import signal def signal_(signum): """Decorate a function to register as a handler to the signal.""" def decorator(func): signal.signal(signum, func) return func return decorator def and_(iter): """Do an and logic condition over the iterable element. Loading