Skip to content

Commit 6c4b3ad

Browse files
committed
driver:ubootdriver: Add default parameter
Add set default parameter 'name' of boot(self, name: str = "") as an empty string. Now one can call it without a parameter and boot with the default 'boot_command' Signed-off-by: Fabian Meuren <[email protected]>
1 parent 4b9b0f7 commit 6c4b3ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labgrid/driver/ubootdriver.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def await_boot(self):
207207

208208
@Driver.check_active
209209
@step(args=['name'])
210-
def boot(self, name):
210+
def boot(self, name: str = ""):
211211
"""Boot the default or a specific boot entry
212212
213213
Args:

0 commit comments

Comments
 (0)