Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Useless assignments.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Mon, 24 Jan 2022 13:18:27 +0000 (14:18 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Mon, 24 Jan 2022 15:38:43 +0000 (16:38 +0100)
tools/simgrid_convert_TI_traces.py
tools/tesh/tesh.py

index 4a9eff1..dc9a1be 100755 (executable)
@@ -70,8 +70,8 @@ def convert_trace(trace_path, base_path, output_path, trace_version="1.0"):
                         raise Exception("Invalid traces: No Isend or Irecv "
                                         "found before the wait in line " +
                                         str(line_num) + " in file " + old_file_path)
-                    new_line = insert_elem(split_line, 2, last_async_call_src)
-                    new_line = insert_elem(split_line, 3, last_async_call_dst)
+                    insert_elem(split_line, 2, last_async_call_src)
+                    insert_elem(split_line, 3, last_async_call_dst)
                     new_line = insert_elem(split_line, 4, "0")
 
                 if new_line is not None:
index ea314d2..8b9ae29 100755 (executable)
@@ -383,7 +383,6 @@ class Cmd(object):
         cmdName = FileReader().filename + ":" + str(self.linenumber)
         try:
             (stdout_data, stderr_data) = proc.communicate("\n".join(self.input_pipe), self.timeout)
-            local_pid = None
             timeout_reached = False
         except subprocess.TimeoutExpired:
             timeout_reached = True