Révision 17f78427
Whitespace cleanup
- remove trailing whitespace
- remove empty lines at the end of files
| plugins/zope/zope_conflict_errors | ||
|---|---|---|
| 32 | 32 |
if len(argv) > 1: |
| 33 | 33 |
if argv[1] == 'config': |
| 34 | 34 |
|
| 35 |
print """graph_title Zope Conflict Errors
|
|
| 36 |
graph_vlabel Count
|
|
| 35 |
print """graph_title Zope Conflict Errors |
|
| 36 |
graph_vlabel Count |
|
| 37 | 37 |
graph_category appserver |
| 38 | 38 |
graph_info The number of conflict errors in event logs over the past 24h""".replace("\n ","\n")
|
| 39 | 39 |
for i in range(0,len(logs)): |
| ... | ... | |
| 52 | 52 |
delta = datetime.now() - logdate |
| 53 | 53 |
if delta.days >= 1: |
| 54 | 54 |
continue |
| 55 |
error_count += 1
|
|
| 55 |
error_count += 1 |
|
| 56 | 56 |
id = dict(i=i) |
| 57 | 57 |
print 'error_count%(i)s.value' % id, error_count |
| 58 |
|
|
| 58 |
|
|
Formats disponibles : Unified diff