pull/1/head
Thomas Sileo 2018-06-13 20:09:58 +02:00
rodzic ecb8cfd67d
commit e172948814
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -24,7 +24,7 @@ from typing import Type
logger = logging.getLogger(__name__)
UninitializedBackendError = Error('a backend must be initialized')
UninitializedBackendError = Error("a backend must be initialized")
# Helper/shortcut for typing
ObjectType = Dict[str, Any]
@ -591,7 +591,7 @@ class Follow(BaseActivity):
# XXX The new_following event will be triggered by Accept
pass
def _undo_inbox(self, as_actor: 'Person') -> None:
def _undo_inbox(self, as_actor: "Person") -> None:
if BACKEND is None:
raise UninitializedBackendError

Wyświetl plik

@ -2,7 +2,7 @@ import abc
import typing
if typing.TYPE_CHECKING:
from little_boxes import activitypub as ap
from little_boxes import activitypub as ap # noqa: type checking
class Backend(abc.ABC):