def validate_port(port):
    start, end = 1, 65535
    if port < start or port > end:
        raise Exception('Bad port number: %d' % port)
Called to make sure a Node is a Dir.  Since we're an
dataset/ETHPy150Open pinterest/kingpin/kingpin/zk_register/zk_register.py/validate_port--crossover with--dataset/ETHPy150Open kayhayen/Nuitka/nuitka/build/inline_copy/lib/scons-2.3.2/SCons/Node/FS.py/Entry.must_be_same