Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (20 sloc) 828 Bytes
#!/usr/bin/env python
# -*- coding: iso-8859-1 -*-
import re
from Regeringen import Regeringen
# are there other sources? directs here,
# anyway. Possibly
#, but it's
# unsure whether they have any more information, or they just import
# from (the data quality suggests some sort of auto
# import). Some initial comparisons cannot find data that
# has that doesn't
class SOU(Regeringen):
module_dir = "sou"
re_basefile_strict = re.compile(r'SOU (\d{4}:\d+)')
re_basefile_lax = re.compile(r'(?:SOU|) ?(\d{4}:\d+)', re.IGNORECASE)
def __init__(self,options):
self.document_type = self.SOU
if __name__ == "__main__":