Public bug reported:
I installed this package and noticed that during the install, the following
warning was displayed:
```
Setting up mitmproxy (8.1.1-4)…
/usr/lib/python3/dist-packages/mitmproxy/addons/script.py:43: SyntaxWarning:
'return' in a 'finally' block
return m
```
This sounds like "sloppy" Python code that should be fixed.
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: mitmproxy 8.1.1-4
ProcVersionSignature: Ubuntu 7.0.0-22.22-generic 7.0.0
Uname: Linux 7.0.0-22-generic x86_64
ApportVersion: 2.34.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sun May 31 21:20:47 2026
InstallationDate: Installed on 2023-04-16 (1141 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
PackageArchitecture: all
SourcePackage: mitmproxy
UpgradeStatus: Upgraded to resolute on 2026-05-18 (13 days ago)
** Affects: mitmproxy (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute wayland-session
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2154679
Title:
SyntaxWarning: 'return' in a 'finally' block
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mitmproxy/+bug/2154679/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs