Skip to content

Commit

Permalink
updated options.py now that urispace_segment has changed
Browse files Browse the repository at this point in the history
  • Loading branch information
staffanm committed Dec 6, 2017
1 parent 77a77e5 commit 1635baa
Show file tree
Hide file tree
Showing 2 changed files with 1,428 additions and 1,428 deletions.
3 changes: 1 addition & 2 deletions ferenda/sources/legal/se/swedishlegalsource.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,12 +536,11 @@ def parse(self, doc):
:type doc: ferenda.Document
"""
# reset some global state
options = self.get_parse_options(doc.basefile)
if options == "skip":
raise errors.DocumentSkippedError("%s: Skipped because of options.py" % doc.basefile,
dummyfile=self.store.parsed_path(doc.basefile))

# reset some global state
UnorderedSection.counter = 0
PreambleSection.counter = 0
self.refparser._legalrefparser.namedlaws = {}
Expand Down
Loading

0 comments on commit 1635baa

Please sign in to comment.