#NEWLINE# def read_direct_reverse_dependencies( self , block_version ) : #NEWLINE# #INDENT# block_version = LengthySerializedBlockVersion ( block_version . block , block_version . time ) #NEWLINE# dbcol = self . mongo_server_store . db [ doc . REVERSE_DEPENDENCIES_ST ] #NEWLINE# doc = dbcol . find_one ( block_version . serialize ( ) ) #NEWLINE# if ( not doc ) : #NEWLINE# #INDENT# raise NotInStoreException ( ( 'No %s found with _id = %s' % ( self . REVERSE_DEPENDENCIES_ST , block_version ) ) ) #NEWLINE# #UNINDENT# obj = ReverseDependency . deserialize ( doc ) #NEWLINE# return obj