# HG changeset patch # User Aurelien Campeas # Date 1242822455 -7200 # Node ID 011e13d74cfc1bd7ca6612a749f58dccfca40f64 # Parent ce662160bb465f4533045c37731c55da5a145d39 shuting -> shutting diff -r ce662160bb46 -r 011e13d74cfc server/repository.py --- a/server/repository.py Wed May 20 14:19:53 2009 +0200 +++ b/server/repository.py Wed May 20 14:27:35 2009 +0200 @@ -217,7 +217,7 @@ self._get_pool().close(True) for i in xrange(config['connections-pool-size']): self._available_pools.put_nowait(ConnectionsPool(self.sources)) - self._shuting_down = False + self._shutting_down = False # internals ############################################################### @@ -350,7 +350,7 @@ """called on server stop event to properly close opened sessions and connections """ - self._shuting_down = True + self._shutting_down = True if isinstance(self._looping_tasks, tuple): # if tasks have been started for looptask in self._looping_tasks: self.info('canceling task %s...', looptask.name) @@ -722,8 +722,8 @@ def _get_session(self, sessionid, setpool=False): """return the user associated to the given session identifier""" - if self._shuting_down: - raise Exception('Repository is shuting down') + if self._shutting_down: + raise Exception('Repository is shutting down') try: session = self._sessions[sessionid] except KeyError: