示例#1
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>'
         )
示例#2
0
	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>'
			)
示例#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>'
			)
示例#4
0
 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>')