Changeset 1970

Show
Ignore:
Timestamp:
09/11/08 13:46:19 (4 months ago)
Author:
alo
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cherokee/trunk/ChangeLog

    r1969 r1970  
    112008-09-11  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
     2 
     3        * admin/ModuleDbslayer.py (ModuleDbslayer._op_apply_changes): Add 
     4        the cherokee-admin module for the new DBSlayer handler. 
    25 
    36        * cherokee/handler_dbslayer.h, cherokee/handler_dbslater.c, 
  • cherokee/trunk/admin/ModuleBalancer.py

    r1949 r1970  
    6969    def _op_apply_changes (self, uri, post): 
    7070        new_balancer_node = post.pop('new_balancer_node') 
    71         if (new_balancer_node)
     71        if new_balancer_node
    7272            tmp = [int(x) for x in self._cfg.keys('%s!source'%(self._prefix))] 
    7373            tmp.sort() 
     
    7777            else: 
    7878                new_source = 1 
     79 
    7980            self._cfg['%s!source!%s'%(self._prefix, new_source)] = new_balancer_node 
    80              
  • cherokee/trunk/admin/consts.py

    r1949 r1970  
    11HANDLERS = [ 
    2     ('',            'None'), 
    3     ('common',      'List & Send'), 
    4     ('file',        'Static content'), 
    5     ('dirlist',     'Only listing'), 
    6     ('redir',       'Redirection'), 
    7     ('cgi',         'CGI'), 
    8     ('fcgi',        'FastCGI'), 
    9     ('scgi',        'SCGI'), 
    10     ('server_info', 'Server Info'), 
    11     ('custom_error','HTTP error'), 
    12     ('mirror',      'Generic balancer'), 
    13     ('admin',       'Remote Administration') 
     2    ('',             'None'), 
     3    ('common',       'List & Send'), 
     4    ('file',         'Static content'), 
     5    ('dirlist',      'Only listing'), 
     6    ('redir',        'Redirection'), 
     7    ('cgi',          'CGI'), 
     8    ('fcgi',         'FastCGI'), 
     9    ('scgi',         'SCGI'), 
     10    ('server_info',  'Server Info'), 
     11    ('dbslayer',     'Data Base bridge'), 
     12    ('mirror',       'Generic balancer'), 
     13    ('custom_error', 'HTTP error'), 
     14    ('admin',        'Remote Administration') 
    1415] 
    1516