Fix typos in standard_attr.py & attributes.py
TrivalFix Change-Id: I220262991e2af9cb9ec649c1a15f2923765fbf2f
This commit is contained in:
parent
d41bed0ee6
commit
1a0da09b4b
|
@ -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
|
||||
"""
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue