Fix a comment in novaclient/api_versions.py
'cliutils.arg' has been replaced with 'utils.arg' in the following patches. Iaec234fbcf4d0f8c7e8f2175eae11d3083a62090 I12b03aa0a13c95ae949adf7e876c675ce309bae5 I405044af3912d86da66df05413edfc724bc102d0 I8103adafde7d8b3a101181366639314740f9a25a So replace 'cliutils.arg' with 'utils.arg' in a comment. TrivialFix Change-Id: Id26b941979dd1a94c20c05d4debcd0ed2f1470e0
This commit is contained in:
parent
02343c2d8c
commit
3b73249729
@ -393,7 +393,7 @@ def wraps(start_version, end_version=None):
|
|||||||
return methods[-1].func(obj, *args, **kwargs)
|
return methods[-1].func(obj, *args, **kwargs)
|
||||||
|
|
||||||
# Let's share "arguments" with original method and substitution to
|
# Let's share "arguments" with original method and substitution to
|
||||||
# allow put cliutils.arg and wraps decorators in any order
|
# allow put utils.arg and wraps decorators in any order
|
||||||
if not hasattr(func, 'arguments'):
|
if not hasattr(func, 'arguments'):
|
||||||
func.arguments = []
|
func.arguments = []
|
||||||
substitution.arguments = func.arguments
|
substitution.arguments = func.arguments
|
||||||
|
Loading…
Reference in New Issue
Block a user