Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LQDN Adminsys
amendments
Commits
5ff0311c
Commit
5ff0311c
authored
Mar 31, 2013
by
Michael Witrant
Browse files
always start amendment from 3rd row
parent
f81d8ef7
Changes
1
Hide whitespace changes
Inline
Side-by-side
extract_amendments.rb
View file @
5ff0311c
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment