def _verify_revision_is_published(location):
 assert (location.revision == MongoRevisionKey.published)

def _verify_revision_is_published ( location ) : assert ( location . revision == MongoRevisionKey . published )
asserts that the revision set on the given location is mongorevisionkey .