mirror of
https://github.com/SELinuxProject/setools
synced 2025-02-09 00:16:53 +00:00
SEToolsTableModel: Fix type checking error.
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
This commit is contained in:
parent
f36cc727fc
commit
3b845c01c2
@ -18,6 +18,7 @@
|
||||
#
|
||||
import logging
|
||||
from contextlib import suppress
|
||||
from typing import List
|
||||
|
||||
from PyQt5.QtCore import QAbstractListModel, QItemSelectionModel, QAbstractTableModel, \
|
||||
QModelIndex, QStringListModel, Qt
|
||||
@ -138,7 +139,7 @@ class SEToolsTableModel(QAbstractTableModel):
|
||||
|
||||
"""Base class for SETools table models."""
|
||||
|
||||
headers = []
|
||||
headers: List[str] = []
|
||||
|
||||
def __init__(self, parent):
|
||||
super(SEToolsTableModel, self).__init__(parent)
|
||||
|
Loading…
Reference in New Issue
Block a user