Commit bdeec552 authored by Vincent Pelletier's avatar Vincent Pelletier

Only make uuid an hex string when providing it as a parameter to the process.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1149 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 2245bf19
......@@ -137,7 +137,7 @@ class NEOProcess:
Note: for this change to take effect, the node must be restarted.
"""
self.uuid = uuid
self.arg_dict['-u'] = uuid
self.arg_dict['-u'] = dump(uuid)
class NEOCluster(object):
def __init__(self, db_list, master_node_count=1,
......@@ -197,7 +197,7 @@ class NEOCluster(object):
def __newProcess(self, command, section):
uuid = self.__allocateUUID()
self.process_dict.setdefault(command, []).append(
NEOProcess(command, dump(uuid), {
NEOProcess(command, uuid, {
'-v': None,
'-c': self.config_file_path,
'-s': section,
......
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