Changeset 549 in tmcsimulator for trunk/src/python/unifiedlogger/cms_watcher.py


Ignore:
Timestamp:
12/26/2019 06:37:15 AM (6 years ago)
Author:
jdalbey
Message:

unifiedlogger Correct messages to have similar capitalization and punctuation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/python/unifiedlogger/cms_watcher.py

    r440 r549  
    7171          # Is a new message activated? 
    7272          if isEmpty(prevList[idx]) and isFull(currList[idx]): 
    73                results.append("CMS Activated.," + locationMap[idList[idx]] + ", '" + currList[idx] +"'") 
     73               results.append("CMS Activated," + locationMap[idList[idx]] + ", '" + currList[idx] +"'") 
    7474          # Is an existing message turned off? 
    7575          if isEmpty(currList[idx]) and isFull(prevList[idx]): 
    76                results.append("CMS Deactivated., " + locationMap[idList[idx]]) 
     76               results.append("CMS Deactivated, " + locationMap[idList[idx]]) 
    7777          # Did a message change? 
    7878          if isFull(currList[idx]) and isFull(prevList[idx]) and currList[idx] != prevList[idx]: 
    79                results.append("CMS Updated., " + locationMap[idList[idx]] + ", '" + currList[idx] +"'") 
     79               results.append("CMS Updated, " + locationMap[idList[idx]] + ", '" + currList[idx] +"'") 
    8080 
    8181     # Save the current list as previous 
Note: See TracChangeset for help on using the changeset viewer.