def add_acl_method(self, method_name):
        """ACL system: make the method_name accessible to the current socket"""

        if isinstance(self.allowed_methods, set):
            self.allowed_methods.add(method_name)
        else:
            self.allowed_methods = set([method_name])
def add_acl_method(self, method_name):
        """ACL system: make the method_name accessible to the current socket"""

        if isinstance(self.allowed_methods, set):
            self.allowed_methods.add(method_name)
        else:
            self.allowed_methods = set([method_name])
def add_acl_method ( self , method_name ) : if isinstance ( self . allowed_methods , set ) : self . allowed_methods . add ( method_name ) else : self . allowed_methods = set ( [ method_name ] )
ACL system: make the method_name accessible to the current socket
ACL system : make the method_name accessible to the current socket