Loading generateChangemarks/changemarks.py +11 −2 Original line number Diff line number Diff line Loading @@ -90,7 +90,15 @@ def find_all_clauses(progress:Progress, mdLines:list[str]): index = 1 empty = "" clause = Clause(empty,0,0,empty) clause = Clause(empty,0,0,"0") for line in mdLines: if line.startswith('#'): # Clause 0 (from start to first clause) found clause.to_id = index - 1 clauses.append(clause) break index = index + 1 for line in mdLines: if line.startswith('#'): Loading Loading @@ -310,6 +318,7 @@ def main(args=None): parser.add_argument('mergeID', help="Merge IID") pargs = parser.parse_args() logging.basicConfig(level=logging.DEBUG) # Process documents and print output Loading Loading
generateChangemarks/changemarks.py +11 −2 Original line number Diff line number Diff line Loading @@ -90,7 +90,15 @@ def find_all_clauses(progress:Progress, mdLines:list[str]): index = 1 empty = "" clause = Clause(empty,0,0,empty) clause = Clause(empty,0,0,"0") for line in mdLines: if line.startswith('#'): # Clause 0 (from start to first clause) found clause.to_id = index - 1 clauses.append(clause) break index = index + 1 for line in mdLines: if line.startswith('#'): Loading Loading @@ -310,6 +318,7 @@ def main(args=None): parser.add_argument('mergeID', help="Merge IID") pargs = parser.parse_args() logging.basicConfig(level=logging.DEBUG) # Process documents and print output Loading