Changeset 481

Show
Ignore:
Timestamp:
05/22/08 13:09:11 (8 months ago)
Author:
mgoldman
Message:

added a stub for status

Files:

Legend:

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

    r480 r481  
    8989                otherwise returns None 
    9090                ''' 
    91                 print "Unimplemented" 
    92                 return None 
     91                status = sestatus() 
     92                if storage_getstatus() == status: 
     93                        return None 
     94                return protocol.Message("status", "update", status) 
    9395 
    9496        def updated_logs(self): 
     
    107109                Not sure what this should do at the moment. 
    108110                FIXME: Jeremy please help flesh this out. 
     111 
     112                compare current modules with modules in store 
     113                if different, return the modules message (currently 
     114                under defined) 
     115                else return None 
    109116                ''' 
    110117                return None