#NEWLINE# def drop_collections( db ) : #NEWLINE# #INDENT# for coll in db . collection_names ( ) : #NEWLINE# #INDENT# if ( not coll . startswith ( 'system' ) ) : #NEWLINE# #INDENT# db . drop_collection ( coll )