lp:~pitti/aptdaemon/pygobject-fixes
Created by
Martin Pitt
and last modified
- Get this branch:
- bzr branch lp:~pitti/aptdaemon/pygobject-fixes
Only
Martin Pitt
can upload to this branch. If you are
Martin Pitt
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Michael Vogt: Approve
- Martin Pitt (community): Needs Resubmitting
-
Diff: 68 lines (+13/-26)2 files modifiedaptdaemon/client.py (+11/-26)
tests/test_client.py (+2/-0)
Related bugs
Related blueprints
Branch information
Recent revisions
- 871. By Martin Pitt
-
Drop MemoizedTransaction mixin.
This uses internal implementation details of PyGObject (GObject.
GObjectMeta)
which stopped working with PyGObject 3.7.2. Replace it with overriding __new__
which does the caching.Extend ClientTest.
test_tid_ caching to ensure that different TIDs actually
generate different transactions. - 867. By Martin Pitt
-
Add test for TID caching
aptdaemon.client has some metaclass magic to cache transactions with the same
transaction ID. Add a test case that this works properly.Suggested by Michael Vogt and spotted in
https://code.launchpad .net/~pitti/ aptdaemon/ pygobject- fixes/+ merge/134942
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:aptdaemon