(module)
Dump running sessions for a module.
       @param module is the module to dump.
Dump running sessions for a module.
Dump running sessions for a module .
def dump_module_sessions(module):
    """Dump running sessions for a module.
       @param module is the module to dump.
    """
    global HOUSE
    if not module in HOUSE.keys():
        Error('Module \'%s\' not found.' % module)
        return
    else:
        mod = HOUSE[module]

    print color.B_YELLOW + '[' + color.B_RED  + '!' + color.B_YELLOW + '] ' + \
          color.B_WHITE + module
    for (cnt, obj) in enumerate(mod.keys()):
        print color.B_GREEN + '\t[' + color.B_YELLOW + str(cnt) + color.B_GREEN + '] ' + \
              color.B_WHITE + str(obj)
def dump_module_sessions ( module ) : global HOUSE if not module in HOUSE . keys ( ) : Error ( 'Module \'%s\' not found.' % module ) return else : mod = HOUSE [ module ] print color . B_YELLOW + '[' + color . B_RED + '!' + color . B_YELLOW + '] ' + color . B_WHITE + module for ( cnt , obj ) in enumerate ( mod . keys ( ) ) : print color . B_GREEN + '\t[' + color . B_YELLOW + str ( cnt ) + color . B_GREEN + '] ' + color . B_WHITE + str ( obj )