config: Mod() should return config dict
this helps for coded configuration Change-Id: I07bdf72f77082f31ee86192faec63df706dcbf56 Reviewed-on: https://forge.frm2.tum.de/review/c/secop/frappy/+/35803 Tested-by: Jenkins Automated Tests <pedersen+jenkins@frm2.tum.de> Reviewed-by: Georg Brandl <g.brandl@fz-juelich.de> Reviewed-by: Markus Zolliker <markus.zolliker@psi.ch>
This commit is contained in:
parent
51dba895a5
commit
907a52ccdb
@ -95,7 +95,9 @@ class Collector:
|
||||
self.cls = cls
|
||||
|
||||
def add(self, *args, **kwds):
|
||||
self.list.append(self.cls(*args, **kwds))
|
||||
result = self.cls(*args, **kwds)
|
||||
self.list.append(result)
|
||||
return result
|
||||
|
||||
def append(self, mod):
|
||||
self.list.append(mod)
|
||||
|
Loading…
x
Reference in New Issue
Block a user