##// END OF EJS Templates
gunicorn: fixed python3 compat
super-admin -
r1056:7e87d29b python3
parent child Browse files
Show More
@@ -333,7 +333,7 b' class RhodeCodeLogger(Logger):'
333 def now(self):
333 def now(self):
334 """ return date in RhodeCode Log format """
334 """ return date in RhodeCode Log format """
335 now = time.time()
335 now = time.time()
336 msecs = int((now - long(now)) * 1000)
336 msecs = int((now - int(now)) * 1000)
337 return time.strftime(self.datefmt, time.localtime(now)) + '.{0:03d}'.format(msecs)
337 return time.strftime(self.datefmt, time.localtime(now)) + '.{0:03d}'.format(msecs)
338
338
339 def atoms(self, resp, req, environ, request_time):
339 def atoms(self, resp, req, environ, request_time):
General Comments 0
You need to be logged in to leave comments. Login now