mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-28 20:53:35 +08:00
language/environment: support no argument manager
unbreak tests
This commit is contained in:
parent
2a7a72b27a
commit
0cdb06fdf5
@ -252,7 +252,8 @@ class HasEnvironment:
|
||||
self.__in_build = True
|
||||
self.build(*args, **kwargs)
|
||||
self.__in_build = False
|
||||
self.__argument_mgr.check_unprocessed_arguments()
|
||||
if self.__argument_mgr is not None:
|
||||
self.__argument_mgr.check_unprocessed_arguments()
|
||||
|
||||
def register_child(self, child):
|
||||
self.children.append(child)
|
||||
|
Loading…
Reference in New Issue
Block a user