diff options
author | Sol Jerome <solj@ices.utexas.edu> | 2008-09-27 02:20:53 +0000 |
---|---|---|
committer | Sol Jerome <solj@ices.utexas.edu> | 2008-09-27 02:20:53 +0000 |
commit | 6e8b40a2496bd5c0f531804a210cf6b5ba072ed1 (patch) | |
tree | 56804032259587b28d12e5c7386e56562127b540 /src/lib/Client/Tools/FreeBSDInit.py | |
parent | 31a81c82a5c8e71a7e355dc1426da10ec6e28a45 (diff) | |
download | bcfg2-6e8b40a2496bd5c0f531804a210cf6b5ba072ed1.tar.gz bcfg2-6e8b40a2496bd5c0f531804a210cf6b5ba072ed1.tar.bz2 bcfg2-6e8b40a2496bd5c0f531804a210cf6b5ba072ed1.zip |
Pylint formatting fixes for client tool drivers
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4923 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client/Tools/FreeBSDInit.py')
-rw-r--r-- | src/lib/Client/Tools/FreeBSDInit.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/Client/Tools/FreeBSDInit.py b/src/lib/Client/Tools/FreeBSDInit.py index 8e13e7981..695698f4c 100644 --- a/src/lib/Client/Tools/FreeBSDInit.py +++ b/src/lib/Client/Tools/FreeBSDInit.py @@ -23,12 +23,14 @@ class FreeBSDInit(Bcfg2.Client.Tools.SvcTool): if self.handlesEntry(entry): command = "/usr/local/etc/rc.d/%s" % entry.get('name') if entry.get('status') == 'on' and not self.setup['build']: - self.logger.debug('Restarting service %s' % entry.get('name')) + self.logger.debug('Restarting service %s' % \ + entry.get('name')) rc = self.cmd.run('%s %s' % (command, \ entry.get('reload', self.__svcrestart__)))[0] else: self.logger.debug('Stopping service %s' % entry.get('name')) rc = self.cmd.run('%s stop' % command)[0] if rc: - self.logger.error("Failed to restart service %s" % (entry.get('name'))) + self.logger.error("Failed to restart service %s" % \ + (entry.get('name'))) |