@gen.engine
def ListClientLogUsers(logs_store, callback):
 user_dir_re = re.compile('^([0-9]+)/$')
 (subdirs, _) = (yield gen.Task(store_utils.ListFilesAndDirs, logs_store, '/'))
 filtered = []
 for s in subdirs:
  res = user_dir_re.match(s)
  if (res is not None):
   filtered.append(res.group(1))
 callback(sorted(filtered))

@ gen . engine def ListClientLogUsers ( logs_store , callback ) : user_dir_re = re . compile ( '^([0-9]+)/$' ) ( subdirs , _ ) = ( yield gen . Task ( store_utils . ListFilesAndDirs , logs_store , '/' ) ) filtered = [ ] for s in subdirs : res = user_dir_re . match ( s ) if ( res is not None ) : filtered . append ( res . group ( 1 ) ) callback ( sorted ( filtered ) )
return the list of all users with data in the client log repository .