code: def safe_purge_collection(coll):
  	
  	op = (
  		drop_collection
  		if coll.options().get('capped', False)
  		else purge_collection
  	)
  	return op(coll)
docs: Cannot remove documents from capped collections
  	in later versions of MongoDB, so drop the
  	collection instead.