Commit Graph

6 Commits

Author SHA1 Message Date
Chris PeBenito
8e082f70cf Replace license text in sources with SPDX license indentifiers.
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
2021-11-20 14:12:15 -05:00
Chris PeBenito
16c069631e
Merge pull request #57 from pebenito/apol-tab-metaclass
TabRegistry: Add a new metaclass for generating the tab selection.
2021-01-20 15:33:20 -05:00
Chris PeBenito
d3687c7705 TabRegistry: Add a new metaclass for generating the tab selection.
The ChooseAnalysis dialog lists the analysis tabs so the user can select
them.  Create a new metaclass so the listing of tabs, grouping in the menu,
and the invocation of the tab's class is automatic.  This requires section,
tab_title, and mlsonly class attributes.

Signed-off-by: Chris PeBenito <pebenito@ieee.org>
2021-01-20 15:27:38 -05:00
Chris PeBenito
bb5986724e apol: Suppress RuntimeErrors in analysis tab destructors.
Suppress errors like this:

Exception ignored in: <function DomainTransitionAnalysisTab.__del__ at 0x7fcb4e93c1f0>
Traceback (most recent call last):
  File "/home/pebenito/projects/setools/setoolsgui/apol/dta.py", line 54, in __del__
    self.thread.quit()
RuntimeError: wrapped C/C++ object of type ResultsUpdater has been deleted
Exception ignored in: <function ResultsUpdater.__del__ at 0x7fcb4e943550>
Traceback (most recent call last):
  File "/home/pebenito/projects/setools/setoolsgui/apol/dta.py", line 449, in __del__
    self.wait()
RuntimeError: wrapped C/C++ object of type ResultsUpdater has been deleted
Exception ignored in: <function BrowserUpdater.__del__ at 0x7fcb4e943820>
Traceback (most recent call last):
  File "/home/pebenito/projects/setools/setoolsgui/apol/dta.py", line 538, in __del__
    self.wait()
RuntimeError: wrapped C/C++ object of type BrowserUpdater has been deleted

Signed-off-by: Chris PeBenito <pebenito@ieee.org>
2021-01-20 14:27:59 -05:00
Chris PeBenito
474c4e0566 Various apol tabs: Fix typo in result message.
Closes #30

Signed-off-by: Chris PeBenito <pebenito@ieee.org>
2019-10-23 18:47:09 -04:00
Chris PeBenito
6333cfaff3 apol: Add ipbkeycon query tab.
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
2019-07-17 21:17:49 -04:00