Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
marcin-usielski committed Oct 30, 2024
1 parent d0be6a8 commit adcfa06
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions moler/device/adbremote3.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ def __init__(self, sm_params, name=None, io_connection=None, io_type=None, varia
"""
initial_state = initial_state if initial_state is not None else AdbRemote3.adb_shell
super(AdbRemote3, self).__init__(name=name, io_connection=io_connection,
io_type=io_type, variant=variant,
io_constructor_kwargs=io_constructor_kwargs,
sm_params=sm_params, initial_state=initial_state,
lazy_cmds_events=lazy_cmds_events)
io_type=io_type, variant=variant,
io_constructor_kwargs=io_constructor_kwargs,
sm_params=sm_params, initial_state=initial_state,
lazy_cmds_events=lazy_cmds_events)

@mark_to_call_base_class_method_with_same_name
def _get_default_sm_configuration_with_proxy_pc(self):
Expand Down
2 changes: 1 addition & 1 deletion moler/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ def remove_state_hops_from_sm(source_hops: dict, state_to_remove: str) -> dict:
if state_to_remove in source_hops and dest_state in source_hops[state_to_remove]:
if source_hops[state_to_remove][dest_state] == from_state:
msg = f"Found cycle from '{from_state}' to '{dest_state}' via '{source_hops[state_to_remove][dest_state]}'. Please verify state hops: {source_hops}"
raise(MolerException(msg))
raise MolerException(msg)
new_hops[from_state][dest_state] = source_hops[state_to_remove][dest_state]
else:
del new_hops[from_state][dest_state]
Expand Down

0 comments on commit adcfa06

Please sign in to comment.