sim: Do not direct user to deprecated add_sync_process
.
This commit is contained in:
parent
455a7bc6c8
commit
5edff532a8
|
@ -143,8 +143,7 @@ class PyCoroProcess(BaseProcess):
|
||||||
|
|
||||||
elif command is None: # only possible if self.default_cmd is None
|
elif command is None: # only possible if self.default_cmd is None
|
||||||
raise TypeError("Received default command from process {!r} that was added "
|
raise TypeError("Received default command from process {!r} that was added "
|
||||||
"with add_process(); did you mean to add this process with "
|
"with add_process(); did you mean to use Tick() instead?"
|
||||||
"add_sync_process() instead?"
|
|
||||||
.format(self.src_loc()))
|
.format(self.src_loc()))
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue