2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

master: do not scan experiments starting with '_'

This commit is contained in:
Sebastien Bourdeauducq 2015-07-29 23:29:07 +08:00
parent a8c13cb7de
commit 86fef7b53b

View File

@ -138,6 +138,8 @@ class DummyPDB:
def examine(dmgr, pdb, rdb, file):
module = file_import(file)
for class_name, exp_class in module.__dict__.items():
if class_name[0] == "_":
continue
if is_experiment(exp_class):
if exp_class.__doc__ is None:
name = class_name