~ddstreet/ubuntu/+source/python-apt:package-b

Last commit made on 2020-03-04
Get this branch:
git clone -b package-b https://git.launchpad.net/~ddstreet/ubuntu/+source/python-apt
Only Dan Streetman can upload to this branch. If you are Dan Streetman please log in for upload directions.

Branch merges

Branch information

Name:
package-b
Repository:
lp:~ddstreet/ubuntu/+source/python-apt

Recent commits

d2bfc68... by Dan Streetman

update changelog

8849c80... by Dan Streetman

fix pycodestyle complaints

5f4a6e2... by Dan Streetman

tests: update test_aptsources

22434dd... by Dan Streetman

sourceslist: remove SourcesList.__find()

This function is no longer needed.

d08dfab... by Dan Streetman

sourceslist: add remove param to SourcesList.save()

Any files in the list that have all their entries removed from the list
will be completely ignored during save(), instead of overwriting and/or
removing the file.

The current SoftwareProperties code works around this problem by
adding an empty (invalid) SourceEntry whenever it detects that it
is removing the final SourceEntry for a file.

This does not change the default behavior, so the new action of removing
files will only happen for callers that set remove=True.

56f6647... by Dan Streetman

sourceslist: change SourcesList.add() to use CollapsedSourcesList

a776fbc... by Dan Streetman

sourceslist: add MergedSourceEntry class

bfb6b7b... by Dan Streetman

sourceslist: add CollapsedSourcesList class

8939e1b... by Dan Streetman

sourceslist: add __eq__ and __len__ functions to SourcesList

14eb806... by Dan Streetman

sourceslist: implement copy(SourceEntry) and SourceEntry._replace()