Ignore:
Timestamp:
12/06/07 09:58:41 (13 years ago)
Author:
spascoe
Message:

More consistent method naming. Using lowerCamelCase for methods but
underscore_separated names for internal variables, functions and modules.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/lib/base.py

    r2570 r2577  
    3131 
    3232        try: 
    33             self._fix_ows_action(environ) 
     33            self._fixOwsAction(environ) 
    3434            return super(OwsController, self).__call__(environ, start_response) 
    3535        except OWS_E.OwsError, e: 
     
    3838             
    3939  
    40     def _fix_ows_action(self, environ): 
     40    def _fixOwsAction(self, environ): 
    4141        # Override the Routes action from the request query parameter 
    4242        try: 
     
    5353        del self.ows_params['request'] 
    5454 
    55     def _load_capabilities(self): 
     55    def _loadCapabilities(self): 
    5656        """ 
    5757        creates an ows_common.get_capabilities.ServiceMetadata object 
     
    9191        return sm 
    9292 
    93     def _render_capabilities(self, template='ows/get_capabilities'): 
     93    def _renderCapabilities(self, template='ows/get_capabilities'): 
    9494        """ 
    9595        The standard way of returning a Capabilities document. 
     
    9999 
    100100        """ 
    101         c.service_metadata = self._load_capabilities() 
     101        c.service_metadata = self._loadCapabilities() 
    102102 
    103103        r = render_response(template, format='xml') 
Note: See TracChangeset for help on using the changeset viewer.