Here's a patch fixing this bug with a test case. It based against lp:python-apt but should apply nicely to Precise and Quantal packaging branches too.
Here's a patch fixing this bug with a test case. It based against lp:python-apt but should apply nicely to Precise and Quantal packaging branches too.