You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2021/12/29 00:45:29 UTC

[incubator-ponymail-foal] 01/02: Fix typing bug

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git

commit 800c62e12ad98f1e40ea7f19fa112ece08cba1e9
Author: Sebb <se...@apache.org>
AuthorDate: Wed Dec 29 00:45:02 2021 +0000

    Fix typing bug
---
 server/main.py           | 3 ---
 server/plugins/server.py | 3 +++
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/server/main.py b/server/main.py
index b7e9447..9535e86 100644
--- a/server/main.py
+++ b/server/main.py
@@ -68,9 +68,6 @@ class Server(plugins.server.BaseServer):
         self.api_logger = None
         self.foal_version = PONYMAIL_FOAL_VERSION
         self.server_version = PONYMAIL_SERVER_VERSION
-        # provided by background.py
-        self.library_version: str
-        self.engine_version: str
 
         # Make a pool of database connections for async queries
         pool_size = self.config.database.pool_size
diff --git a/server/plugins/server.py b/server/plugins/server.py
index c03e7d3..8d7ddd4 100644
--- a/server/plugins/server.py
+++ b/server/plugins/server.py
@@ -52,3 +52,6 @@ class BaseServer:
     dbpool: asyncio.Queue
     runners: plugins.offloader.ExecutorPool
     streamlock: asyncio.Lock
+    # provided by background.py
+    library_version: str
+    engine_version: str