@@ 129-137 (lines=9) @@ | ||
126 | self.seriousExcCounter.increment() |
|
127 | raise e |
|
128 | ||
129 | def status (self): |
|
130 | return producers.simple_producer ( |
|
131 | '<li>%s' % status_handler.html_repr (self) |
|
132 | + '<ul>' |
|
133 | + ' <li><b>Total Commands:</b> %s' % self.commandCounter |
|
134 | + ' <li><b>Completed:</b> %s' % self.completedCounter |
|
135 | + ' <li><b>Serious Exceptions:</b> %s' % self.seriousExcCounter |
|
136 | + ' <li><b>Total Exceptions:</b> %s' % self.exceptionsCounter |
|
137 | + '</ul>' |
|
138 | ) |
|
139 | ||
140 | def __repr__ (self): |
|
@@ 86-94 (lines=9) @@ | ||
83 | self.seriousExcCounter.increment() |
|
84 | raise e |
|
85 | ||
86 | def status (self): |
|
87 | return producers.simple_producer ( |
|
88 | '<li>%s' % status_handler.html_repr (self) |
|
89 | + '<ul>' |
|
90 | + ' <li><b>Total Commands:</b> %s' % self.commandCounter |
|
91 | + ' <li><b>Completed:</b> %s' % self.completedCounter |
|
92 | + ' <li><b>Serious Exceptions:</b> %s' % self.seriousExcCounter |
|
93 | + ' <li><b>Total Exceptions:</b> %s' % self.exceptionsCounter |
|
94 | + '</ul>' |
|
95 | ) |
|
96 | ||
97 | ## XML RPC medusa handler |