Skip to content
Snippets Groups Projects

Cleanup of documentation and raise correct exception type

Merged Oscar Gustafsson requested to merge archcleanup into master
+ 0
2
@@ -301,7 +301,6 @@ class Resource(HardwareBlock):
------
:class:`TypeError`
If the process being added is not of the same type as the other processes.
"""
if isinstance(proc, OperatorProcess):
# operation_type marks OperatorProcess associated operation.
@@ -335,7 +334,6 @@ class Resource(HardwareBlock):
------
:class:`KeyError`
If *proc* is not present in resource.
"""
self.collection.remove_process(proc)
if assign:
Loading