Commit 27c3df49 authored by Marco Mariani's avatar Marco Mariani

fixed call to supervisor

parent 24bab1da
...@@ -161,7 +161,7 @@ def parseArgumentTupleAndReturnSlapgridObject(*argument_tuple): ...@@ -161,7 +161,7 @@ def parseArgumentTupleAndReturnSlapgridObject(*argument_tuple):
# Parses arguments # Parses arguments
if argument_tuple == (): if not argument_tuple:
# No arguments given to entry point : we parse sys.argv. # No arguments given to entry point : we parse sys.argv.
argument_option_instance = parser.parse_args() argument_option_instance = parser.parse_args()
else: else:
...@@ -644,7 +644,8 @@ class Slapgrid(object): ...@@ -644,7 +644,8 @@ class Slapgrid(object):
def _launchSupervisord(self): def _launchSupervisord(self):
launchSupervisord(self.supervisord_socket, launchSupervisord(self.supervisord_socket,
self.supervisord_configuration_path) self.supervisord_configuration_path,
logger=self.logger)
def _checkPromises(self, computer_partition): def _checkPromises(self, computer_partition):
self.logger.info("Checking promises...") self.logger.info("Checking promises...")
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
############################################################################## ##############################################################################
import time import time
import logging
import os import os
import sys import sys
import xmlrpclib import xmlrpclib
......
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