#NEWLINE# @ gen . coroutine #NEWLINE# def add_all_users( self , user_dict ) : #NEWLINE# #INDENT# 'Update the proxy table from the database.\n\n        Used when loading up a new proxy.\n        ' #NEWLINE# db = inspect ( self ) . session #NEWLINE# futures = [ ] #NEWLINE# for orm_user in db . query ( User ) : #NEWLINE# #INDENT# user = user_dict [ orm_user ] #NEWLINE# if user . running : #NEWLINE# #INDENT# futures . append ( self . add_user ( user ) ) #NEWLINE# #UNINDENT# #UNINDENT# for f in futures : #NEWLINE# #INDENT# ( yield f )