mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 21:44:16 +02:00
[arch] feature -> ignoring binary package when checking with rebuild-detector
This commit is contained in:
@@ -218,6 +218,14 @@ class FormComponent(ViewComponent):
|
||||
raise Exception("'{}' is not a {}".format(id_, SingleSelectComponent.__class__.__name__))
|
||||
return comp
|
||||
|
||||
def get_form_component(self, id_: str) -> Optional["FormComponent"]:
|
||||
comp = self.get_component(id_)
|
||||
|
||||
if comp:
|
||||
if not isinstance(comp, FormComponent):
|
||||
raise Exception("'{}' is not a {}".format(id_, FormComponent.__class__.__name__))
|
||||
return comp
|
||||
|
||||
|
||||
class FileChooserComponent(ViewComponent):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user