Changeset 875 for trunk/Monitoring/smon/repo_io.py
- Timestamp:
- 06/11/13 15:05:18 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Monitoring/smon/repo_io.py
r871 r875 87 87 88 88 def test(): 89 """ 90 not used 91 """ 92 89 93 repo.create_message("test2", 2, "bla2") 90 94 commit() … … 95 99 repo.create_message("test3", 3, "bla3") 96 100 rollback() 101 102 def cleanup(): 103 if mode==CSTE_MODE_LOCAL_REPO: 104 repo.cleanup() 105 elif mode==CSTE_MODE_REMOTE_REPO: 106 raise Exception("ERR707") 107 elif mode==CSTE_MODE_REMOTE_REPO_STUB: 108 pass 109 else: 110 raise Exception("ERR007 - incorrect mode") 97 111 98 112 def commit():
Note: See TracChangeset
for help on using the changeset viewer.