Loading ccnode/utils.py +0 −13 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 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