Add priority to manual clean step example

clean_step decorator must have a priority argument, this change fixes
a docstring example of manual clean step that was missing it.

Change-Id: I6d6ca312fa3171026b2db427b648f7ae7273e6c2
This commit is contained in:
Vladyslav Drok 2016-01-25 16:20:37 +02:00
parent 22402e4586
commit 4aae8542cb

View File

@ -1071,7 +1071,7 @@ def clean_step(priority, abortable=False, argsinfo=None):
def example_cleaning(self, task):
# do some cleaning
@base.clean_step(abortable=True, argsinfo=
@base.clean_step(priority=0, abortable=True, argsinfo=
{'size': {'description': 'size of widget (MB)',
'required': True}})
def advanced_clean(self, task, **kwargs):