~ubuntu-testcase/checkbox/community-testing-cbt

« back to all changes in this revision

Viewing changes to plainbox/plainbox/impl/session/resume.py

  • Committer: Brendan Donegan
  • Date: 2015-08-21 14:53:36 UTC
  • mfrom: (3921.18.18 checkbox)
  • Revision ID: brendan.donegan@canonical.com-20150821145336-uj9m7d0mwgqw04ax
MergedĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
485
485
    """
486
486
 
487
487
 
 
488
class SessionPeekHelper6(SessionPeekHelper5):
 
489
    """
 
490
    Helper class for implementing session peek feature
 
491
 
 
492
    This class works with data constructed by
 
493
    :class:`~plainbox.impl.session.suspend.SessionSuspendHelper6` which has
 
494
    been pre-processed by :class:`SessionPeekHelper` (to strip the initial
 
495
    envelope).
 
496
 
 
497
    The only goal of this class is to reconstruct session state meta-data.
 
498
    """
 
499
 
 
500
 
488
501
class SessionResumeHelper1(MetaDataHelper1MixIn):
489
502
    """
490
503
    Helper class for implementing session resume feature
1045
1058
        return session
1046
1059
 
1047
1060
 
1048
 
 
1049
1061
def _validate(obj, **flags):
1050
1062
    """
1051
1063
    Multi-purpose extraction and validation function.