summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Tools/DebInit.py
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2010-10-17 20:43:16 -0500
committerSol Jerome <sol.jerome@gmail.com>2010-10-17 20:43:16 -0500
commitb056804f3d3e3a2d92dac42062527873255d14c7 (patch)
tree0685c311e66f75064b5f651219a488e6ee4634d8 /src/lib/Client/Tools/DebInit.py
parentff01b4e6ad3dcf7fdae92adc16c1a3481a37d8db (diff)
downloadbcfg2-b056804f3d3e3a2d92dac42062527873255d14c7.tar.gz
bcfg2-b056804f3d3e3a2d92dac42062527873255d14c7.tar.bz2
bcfg2-b056804f3d3e3a2d92dac42062527873255d14c7.zip
Client Tools: Pylint/PEP8 fixes
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/lib/Client/Tools/DebInit.py')
-rw-r--r--src/lib/Client/Tools/DebInit.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/lib/Client/Tools/DebInit.py b/src/lib/Client/Tools/DebInit.py
index 0185f420c..aee8ffd65 100644
--- a/src/lib/Client/Tools/DebInit.py
+++ b/src/lib/Client/Tools/DebInit.py
@@ -1,16 +1,18 @@
"""Debian Init Support for Bcfg2"""
__revision__ = '$Revision$'
-import glob, os, re
+import glob
+import os
+import re
import Bcfg2.Client.Tools
-
# Debian squeeze and beyond uses a dependecy based boot sequence
DEBIAN_OLD_STYLE_BOOT_SEQUENCE = (
'etch', '4.0',
'lenny', '5.0', '5.0.1', '5.0.2', '5.0.3', '5.0.4', '5.0.4', '5.0.5',
)
+
class DebInit(Bcfg2.Client.Tools.SvcTool):
"""Debian Service Support for Bcfg2."""
name = 'DebInit'
@@ -35,7 +37,9 @@ class DebInit(Bcfg2.Client.Tools.SvcTool):
start_sequence = int(entry.get('sequence'))
kill_sequence = 100 - start_sequence
else:
- self.logger.warning("Your debian version boot sequence is dependency based \"sequence\" attribute wil be ignored.")
+ self.logger.warning("Your debian version boot sequence is "
+ "dependency based \"sequence\" attribute "
+ "will be ignored.")
else:
start_sequence = None