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


The following commit(s) were added to refs/heads/master by this push:
     new 152adbc  Simplify
152adbc is described below

commit 152adbc835f52dc053d2c2dbef9fc3e777ac2352
Author: Sebb <[email protected]>
AuthorDate: Tue Dec 21 00:35:12 2021 +0000

    Simplify
---
 tools/migrate.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tools/migrate.py b/tools/migrate.py
index b526175..7ee5c2e 100644
--- a/tools/migrate.py
+++ b/tools/migrate.py
@@ -384,5 +384,4 @@ if __name__ == "__main__":
     args = parser.parse_args()
     if args.start_method:
         multiprocessing.set_start_method(args.start_method)
-    loop = asyncio.get_event_loop()
-    loop.run_until_complete(main(args))
+    asyncio.run(main(args))

Reply via email to