Commit beb698a5 authored by Marco Mariani's avatar Marco Mariani

typo fix

parent 24508b1a
...@@ -433,7 +433,7 @@ class Partition(object): ...@@ -433,7 +433,7 @@ class Partition(object):
if not os.path.exists(buildout_binary): if not os.path.exists(buildout_binary):
# use own buildout generation # use own buildout generation
bootstrapBuildout(self.instance_path, self.buildout, bootstrapBuildout(self.instance_path, self.buildout,
['buildout:bin-directory=%s'% os.path.join(self.instance_path, 'sbin')]) ['buildout:bin-directory=%s' % os.path.join(self.instance_path, 'sbin')])
buildout_binary = os.path.join(self.instance_path, 'sbin', 'buildout') buildout_binary = os.path.join(self.instance_path, 'sbin', 'buildout')
# Launches buildout # Launches buildout
launchBuildout(self.instance_path, buildout_binary) launchBuildout(self.instance_path, buildout_binary)
...@@ -466,8 +466,8 @@ class Partition(object): ...@@ -466,8 +466,8 @@ class Partition(object):
for runner in runner_list + service_list]) for runner in runner_list + service_list])
} }
# Same method to add to service and run # Same method to add to service and run
self.addServiceToGroup(partition_id, runner_list,self.run_path) self.addServiceToGroup(partition_id, runner_list, self.run_path)
self.addServiceToGroup(partition_id, service_list,self.service_path, self.addServiceToGroup(partition_id, service_list, self.service_path,
extension=getWatchdogID()) extension=getWatchdogID())
updateFile(self.supervisord_partition_configuration_path, updateFile(self.supervisord_partition_configuration_path,
self.partition_supervisor_configuration) self.partition_supervisor_configuration)
......
...@@ -43,7 +43,7 @@ import time ...@@ -43,7 +43,7 @@ import time
import traceback import traceback
import warnings import warnings
if sys.version_info < (2, 6): if sys.version_info < (2, 6):
warnings.warn('Used python version (%s) is old and have problems with' warnings.warn('Used python version (%s) is old and has problems with'
' IPv6 connections' % sys.version.split('\n')[0]) ' IPv6 connections' % sys.version.split('\n')[0])
from lxml import etree from lxml import etree
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment