forked from M-Labs/artiq
1
0
Fork 0

language/environment: support no argument manager

unbreak tests
This commit is contained in:
Deepskyhunter 2022-07-28 17:55:25 +08:00 committed by GitHub
parent 2a7a72b27a
commit 0cdb06fdf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -252,6 +252,7 @@ class HasEnvironment:
self.__in_build = True
self.build(*args, **kwargs)
self.__in_build = False
if self.__argument_mgr is not None:
self.__argument_mgr.check_unprocessed_arguments()
def register_child(self, child):