Fix typos in standard_attr.py & attributes.py

TrivalFix

Change-Id: I220262991e2af9cb9ec649c1a15f2923765fbf2f
This commit is contained in:
zhangyanxian 2016-11-16 10:06:50 +00:00
parent d41bed0ee6
commit 1a0da09b4b
2 changed files with 2 additions and 2 deletions

View File

@ -311,7 +311,7 @@ def get_collection_info(collection):
def get_resource_info(resource):
"""Helper function to retrive attribute info
"""Helper function to retrieve attribute info
:param resource: resource name
"""

View File

@ -150,7 +150,7 @@ class HasStandardAttributes(object):
# for all other modifications or when relevant children are being
# modified (e.g. fixed_ips change should bump port revision)
if self.standard_attr.revision_number is None:
# this is a brand new object uncommited so we don't bump now
# this is a brand new object uncommitted so we don't bump now
return
self.standard_attr.revision_number += 1