def status (self):
     return producers.simple_producer (
         '<li>%s' % status_handler.html_repr (self)
         + '<ul>'
         + '  <li><b>Total Commands:</b> %s' % self.commandCounter
         + '  <li><b>Completed:</b> %s' % self.completedCounter
         + '  <li><b>Exceptions:</b> %s' % self.exceptionsCounter
         + '</ul>'
         )
	def status (self):
		return producers.simple_producer (
			'<li>%s' % status_handler.html_repr (self)
			+ '<ul>'
			+ '  <li><b>Total Hits:</b> %s'			% self.hit_counter
			+ '  <li><b>Files Delivered:</b> %s'	% self.file_counter
			+ '  <li><b>Cache Hits:</b> %s'			% self.cache_counter
			+ '</ul>'
			)
Exemple #3
0
	def status (self):
		return producers.simple_producer (
			'<li>%s' % status_handler.html_repr (self)
			+ '<ul>'
			+ '  <li><b>Total Commands:</b> %s' % self.commandCounter
			+ '  <li><b>Completed:</b> %s' % self.completedCounter
			+ '  <li><b>Exceptions:</b> %s' % self.exceptionsCounter
			+ '</ul>'
			)
 def status(self):
     return producers.simple_producer(
         '<li>%s' % status_handler.html_repr(self) + '<ul>' +
         '  <li><b>Total Hits:</b> %s' % self.hit_counter +
         '  <li><b>Files Delivered:</b> %s' % self.file_counter +
         '  <li><b>Cache Hits:</b> %s' % self.cache_counter + '</ul>')