Commit c0cda8fc authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Fix for last line of clause

parent 354471be
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -323,7 +323,7 @@ https://forge.etsi.org/rep/cdm/pipeline-scripts/-/blob/main/common/Dockerfile.st
                            modifiedElements.append(" ")
                    modifiedRow = "|".join(modifiedElements)
                    clauseMDlines.insert(j, modifiedRow + "\n")
                    if (j + 1) <= len(clauseMDlines):
                    if (j + 1) < len(clauseMDlines):
                        clauseMDlines.pop(j+1)
                else:
                    logging.debug(f"Index to delete is {j}")
@@ -332,7 +332,7 @@ https://forge.etsi.org/rep/cdm/pipeline-scripts/-/blob/main/common/Dockerfile.st
                    #else:
                        # clauseMDlines.insert(j, "~~\t~~\n")
                        #clauseMDlines.insert(j, "\n")
                    if (j + 1) <= len(clauseMDlines):
                    if (j + 1) < len(clauseMDlines):
                        logging.debug(f'Line marked as removed: {clauseMDlines[j]}')
                        logging.debug(f'Line being removed: {clauseMDlines[j+1]}')
                        clauseMDlines.pop(j+1)