# HG changeset patch # User RhodeCode Admin # Date 2023-03-06 12:51:03 # Node ID 7e87d29bf5cf842f8551fda8935f362206ac2acc # Parent c4d2b190706d97b31408be6e0ccfbe924a91d7ea gunicorn: fixed python3 compat diff --git a/configs/gunicorn_config.py b/configs/gunicorn_config.py --- a/configs/gunicorn_config.py +++ b/configs/gunicorn_config.py @@ -333,7 +333,7 @@ class RhodeCodeLogger(Logger): def now(self): """ return date in RhodeCode Log format """ now = time.time() - msecs = int((now - long(now)) * 1000) + msecs = int((now - int(now)) * 1000) return time.strftime(self.datefmt, time.localtime(now)) + '.{0:03d}'.format(msecs) def atoms(self, resp, req, environ, request_time):