Loading ccserver/ccserver.py +2 −2 Original line number Diff line number Diff line Loading @@ -37,7 +37,7 @@ class CCServer(object): LISTEN_BACKLOG = 5 # These tags are reserved and cannot be setted by an user: RESERVED_TAGS = ('id', 'a', 'r', 'close', 'con', 'ip') RESERVED_TAGS = ('id', 'a', 'r', 'close', 'con', 'ip', 'p') def __init__(self, conf_dir, maxcon, maxidle, certfile=None, keyfile=None, address='0.0.0.0', port=1984): Loading Loading @@ -149,7 +149,7 @@ class CCServer(object): obj_parent = self.objects.get_by_id(parent) oid = '%s.%s' % (parent, name) obj = TqlObject(id=oid, r=role, __parent=obj_parent) obj = TqlObject(id=oid, r=role, __parent=obj_parent, p=obj_parent['id']) self.objects.register(obj) def sub_unregister(self, parent, name): Loading Loading
ccserver/ccserver.py +2 −2 Original line number Diff line number Diff line Loading @@ -37,7 +37,7 @@ class CCServer(object): LISTEN_BACKLOG = 5 # These tags are reserved and cannot be setted by an user: RESERVED_TAGS = ('id', 'a', 'r', 'close', 'con', 'ip') RESERVED_TAGS = ('id', 'a', 'r', 'close', 'con', 'ip', 'p') def __init__(self, conf_dir, maxcon, maxidle, certfile=None, keyfile=None, address='0.0.0.0', port=1984): Loading Loading @@ -149,7 +149,7 @@ class CCServer(object): obj_parent = self.objects.get_by_id(parent) oid = '%s.%s' % (parent, name) obj = TqlObject(id=oid, r=role, __parent=obj_parent) obj = TqlObject(id=oid, r=role, __parent=obj_parent, p=obj_parent['id']) self.objects.register(obj) def sub_unregister(self, parent, name): Loading