diff --git a/client/securedrop_client/config.py b/client/securedrop_client/config.py index 3033fed7c..2cba5a690 100644 --- a/client/securedrop_client/config.py +++ b/client/securedrop_client/config.py @@ -12,7 +12,7 @@ def try_qubesdb() -> Generator: """Minimal context manager around QubesDB() → QubesDB.close() when available.""" - db: Union[bool, "QubesDB"] = False + db: Union[bool, "QubesDB"] = False try: from qubesdb import QubesDB diff --git a/client/stubs/qubesdb.pyi b/client/stubs/qubesdb.pyi index 9e2fe9a50..e8f4f26c5 100644 --- a/client/stubs/qubesdb.pyi +++ b/client/stubs/qubesdb.pyi @@ -1,7 +1,6 @@ # See , # generated using stubgen class Error(RuntimeError): ... - class DisconnectedError(Error): ... class QubesDB: