Changeset 480

Show
Ignore:
Timestamp:
05/22/08 12:05:00 (8 months ago)
Author:
mgoldman
Message:

added a stub for sending the updated bools message.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/trunk-pmd-intproto/agent/agent.py

    r479 r480  
    7777                returns the updated bools msg if updated since the last pass 
    7878                ''' 
    79                 print "Unimplemented" 
    80                 return None 
     79                old_bools = storage_getbools() 
     80                cur_bools = sebools() 
     81                cur_bools = dictsub(curbools, oldbools) 
     82                if cur_bools == {} :  
     83                        return None 
     84                return protocol.Message("bools", "update", cur_bools) 
    8185 
    8286        def updated_status(self):