Ignore:
Timestamp:
06/12/13 12:00:14 (11 years ago)
Author:
jripsl
Message:

Fix bug (incorrect simulation_id was used in message table).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Monitoring/smon/repo_io.py

    r876 r877  
    8181 
    8282def populate_tables_with_sample(): 
     83        """ 
     84        used only by "repo-state" pgm 
     85        """ 
     86         
    8387        repo.populate_tables_with_sample() 
    8488 
    8589def retrieve_simulations(): 
     90        """ 
     91        used by get_running_simulations 
     92        """ 
    8693        return repo.retrieve_simulations() 
    8794 
     
    252259                raise Exception("ERR019 - incorrect mode") 
    253260 
    254 def create_message(message): 
    255         if mode==CSTE_MODE_LOCAL_REPO: 
    256                 repo.create_message(message) 
     261def create_message(message,simulation): 
     262        if mode==CSTE_MODE_LOCAL_REPO: 
     263                repo.create_message(message,simulation) 
    257264        elif mode==CSTE_MODE_REMOTE_REPO: 
    258265 
Note: See TracChangeset for help on using the changeset viewer.