mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 08:56:02 +03:00
[PR #2565] [MERGED] Fix depreciation from python 3.10 #2610
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#2610
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/modoboa/modoboa/pull/2565
Author: @Spitfireap
Created: 7/14/2022
Status: ✅ Merged
Merged: 9/5/2022
Merged by: @tonioo
Base:
master← Head:master📝 Commits (1)
dc2d121Fix depreaciation from python 3.10📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
modoboa/policyd/management/commands/policy_daemon.py(+1 -1)📄 Description
Description of the issue/feature this PR addresses:
see issue #2562 and #2561.
From python 3.10, start_server() doesn't take
loopas an argument . As a result, it is tedious to use it on Ubuntu 22.04.Current behavior before PR:
Policy deamon keep crashing due to a TypeError making it impossible to receive/send mails.
Desired behavior after PR is merged:
Have it compatible with python 3.10.
!!!!! I've just deleted a line, and I'm not sure if this was the right thing to do, however, I can now send mails !
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.