scout/commands/view/whitelist.py
def whitelist(context):
    """Show all objects in the whitelist collection"""
    LOG.info("Running scout view users")
    adapter = context.obj['adapter']

    ## TODO add a User interface to the adapter
    for whitelist_obj in adapter.whitelist_collection.find():
        click.echo(whitelist_obj['_id'])
def whitelist(context):
    """Show all objects in the whitelist collection"""
    LOG.info("Running scout view users")
    adapter = context.obj['adapter']

    ## TODO add a User interface to the adapter
    for whitelist_obj in adapter.whitelist_collection.find():
        click.echo(whitelist_obj['_id'])
def whitelist ( context ) : LOG . info ( "Running scout view users" ) adapter = context . obj [ 'adapter' ] ## TODO add a User interface to the adapter for whitelist_obj in adapter . whitelist_collection . find ( ) : click . echo ( whitelist_obj [ '_id' ] )
Show all objects in the whitelist collection
Show all objects in the whitelist collection