Commit a6d90c64 authored by Anael Beutot's avatar Anael Beutot
Browse files

Removed unused code.

parent f991cee5
Loading
Loading
Loading
Loading
+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.