mirror of https://github.com/m-labs/artiq.git
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.__in_build = True
|
||||||
self.build(*args, **kwargs)
|
self.build(*args, **kwargs)
|
||||||
self.__in_build = False
|
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):
|
def register_child(self, child):
|
||||||
self.children.append(child)
|
self.children.append(child)
|
||||||
|
|
Loading…
Reference in New Issue