def snapshots():
 try:
  return _('collector').Inspector(cachedir=__opts__['cachedir'], piddir=os.path.dirname(__opts__['pidfile'])).db.list()
 except InspectorSnapshotException as err:
  raise CommandExecutionError(err)
 except Exception as err:
  log.error(_get_error_message(err))
  raise Exception(err)

def snapshots ( ) : try : return _ ( 'collector' ) . Inspector ( cachedir = __opts__ [ 'cachedir' ] , piddir = os . path . dirname ( __opts__ [ 'pidfile' ] ) ) . db . list ( ) except InspectorSnapshotException as err : raise CommandExecutionError ( err ) except Exception as err : log . error ( _get_error_message ( err ) ) raise Exception ( err )
list current description snapshots .