Compare commits

...
2 changed files with 4 additions and 1 deletions
+3 -1
View File
@@ -1,6 +1,8 @@
# Copyright (C) 2018 Avatao.com Innovative Learning Kft. # Copyright (C) 2018 Avatao.com Innovative Learning Kft.
# All Rights Reserved. See LICENSE file for details. # All Rights Reserved. See LICENSE file for details.
from functools import update_wrapper
class lazy_property: class lazy_property:
""" """
@@ -9,7 +11,7 @@ class lazy_property:
""" """
def __init__(self, func): def __init__(self, func):
self.func = func self.func = func
self.__doc__ = func.__doc__ update_wrapper(self, func)
def __get__(self, instance, owner): def __get__(self, instance, owner):
if instance is None: if instance is None:
+1
View File
@@ -4,6 +4,7 @@ logfile=/dev/null
logfile_maxbytes=0 logfile_maxbytes=0
loglevel = debug loglevel = debug
pidfile = /tmp/supervisord.pid pidfile = /tmp/supervisord.pid
strip_ansi=true
[inet_http_server] [inet_http_server]
port = 127.0.0.1:%(ENV_TFW_SUPERVISOR_HTTP_PORT)s port = 127.0.0.1:%(ENV_TFW_SUPERVISOR_HTTP_PORT)s