apport
apport copied to clipboard
apt_dpkg: split _search_contents into smaller methods
Split __AptDpkgPackageInfo._search_contents()
into smaller methods to make the code more readable and modifiable.
I did this refactoring to find the test failure, but then I found the failure elsewhere: https://github.com/canonical/apport/pull/310