]> git.llucax.com Git - software/pymin.git/commitdiff
Cosmetic changes to service's imports.
authorLeandro Lucarella <llucax@gmail.com>
Mon, 16 Jun 2008 20:01:05 +0000 (17:01 -0300)
committerLeandro Lucarella <llucax@gmail.com>
Mon, 16 Jun 2008 20:01:05 +0000 (17:01 -0300)
services/proxy/handler.py
services/vpn/handler.py
services/vrrp/handler.py

index 7a5272476bf4f9a0a27fcc2910931b32af2f9cfc..63237e1ab5ca3a571089932efa6023f949fb558b 100644 (file)
@@ -1,6 +1,7 @@
 # vim: set encoding=utf-8 et sw=4 sts=4 :
 
 from os import path
+import crypt
 import logging ; log = logging.getLogger('pymin.services.proxy')
 
 from pymin.seqtools import Sequence
@@ -9,9 +10,6 @@ from pymin.service.util import Restorable, ConfigWriter, InitdHandler, \
                                TransactionalHandler, ParametersHandler, \
                                DictSubHandler
 
-import crypt
-
-
 __all__ = ('ProxyHandler', 'get_service')
 
 
index ebfa0ab433663dea3edc87b4a9194c11738b178f..4f0e04ba31d01a597ad6a004b726093e67367105 100644 (file)
@@ -6,7 +6,6 @@ import signal
 from os import path
 import logging ; log = logging.getLogger('pymin.services.vpn')
 
-
 from pymin.seqtools import Sequence
 from pymin.dispatcher import Handler, handler, HandlerError
 from pymin.service.util import Restorable, ConfigWriter, InitdHandler, \
index 5ddbbafbc8716f66387941a10d80dc07cdc44801..2f51263a6886fd8e8b50076d36ca21bb3cf9ecca 100644 (file)
@@ -1,13 +1,12 @@
 # vim: set encoding=utf-8 et sw=4 sts=4 :
 
+import logging ; log = logging.getLogger('pymin.services.vrrp')
+
 from pymin import procman
 from pymin.service.util import Restorable, TransactionalHandler, \
                                ReloadHandler, RestartHandler, \
                                ServiceHandler, ParametersHandler
 
-# Logger
-import logging ; log = logging.getLogger('pymin.services.vrrp')
-
 __all__ = ('VrrpHandler', 'get_service')