/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to mandos

  • Committer: Björn Påhlsson
  • Date: 2011-12-13 17:55:20 UTC
  • mto: This revision was merged to the branch mainline in revision 524.
  • Revision ID: belorn@recompile.se-20111213175520-0my4v4nvp2vd8la4
more refactoring in regards to how clients get created

Show diffs side-by-side

added added

removed removed

Lines of Context:
411
411
    interval:   datetime.timedelta(); How often to start a new checker
412
412
    last_approval_request: datetime.datetime(); (UTC) or None
413
413
    last_checked_ok: datetime.datetime(); (UTC) or None
 
414
 
414
415
    last_checker_status: integer between 0 and 255 reflecting exit
415
416
                         status of last checker. -1 reflects crashed
416
417
                         checker, or None.
1039
1040
    def __init__(self, bus = None, *args, **kwargs):
1040
1041
        self.bus = bus
1041
1042
        Client.__init__(self, *args, **kwargs)
1042
 
        self._approvals_pending = 0
1043
1043
        
1044
1044
        self._approvals_pending = 0
1045
1045
        # Only now, when this client is initialized, can it show up on