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

fixed call to supervisor

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