~mvo/aptdaemon/send-signal-on-auth-fail

Viewing all changes in revision 871.

  • Committer: Martin Pitt
  • Date: 2012-11-26 10:05:02 UTC
  • mfrom: (867.1.1 aptdaemon)
  • Revision ID: martin.pitt@ubuntu.com-20121126100502-6a55qn9o94cj40sk
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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: