Skip to content
Extraits de code Groupes Projets
Valider 5ff0311c rédigé par Michael Witrant's avatar Michael Witrant
Parcourir les fichiers

always start amendment from 3rd row

parent f81d8ef7
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -134,13 +134,8 @@ class AmendmentExtractor
debug text_table: text_table
debug "locating header"
header_index = text_table.index(["Text proposed by the Commission", "Amendment"])
raise "header not found in table of amendment #{num_am}" unless header_index
debug "extracting changes from table"
changes = text_table[(header_index + 1)..-1]
changes = text_table[2..-1]
raise "amendment changes not found" if changes.size == 0
debug changes: changes
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter