From 4202a7b4b283063fd3a090c097d5cd2e11ee2803 Mon Sep 17 00:00:00 2001 From: Gary Kotton Date: Fri, 22 Sep 2017 03:48:02 +0300 Subject: [PATCH] Fix comment in context.py Fix a typo. TrivialFix Change-Id: I31063e9994f7462dce30eab731a68ead0364477b --- neutron_lib/context.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/neutron_lib/context.py b/neutron_lib/context.py index b2891c0b8..c4e59ff9e 100644 --- a/neutron_lib/context.py +++ b/neutron_lib/context.py @@ -164,13 +164,13 @@ class Context(ContextBaseWithSession): return self._session def set_transaction_constraint(self, resource, resource_id, rev_number): - """Set a revision constraint to enfore before resource_id is changed. + """Set a revision constraint to enforce before resource_id is changed. - :param resource: collection name of resource (e.g. ports or networks) - :param resource_id: the primary key ID of the individiual resource that + :param resource: Collection name of resource (e.g. ports or networks) + :param resource_id: The primary key ID of the individual resource that should have its revision number matched before allowing the transaction to proceed. - :param rev_number: the revision_number that the resource should be at. + :param rev_number: The revision_number that the resource should be at. """ self._txn_constraint = _TransactionConstraint(