Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
django-representatives
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Political Memory
django-representatives
Commits
a0fc2df5
Commit
a0fc2df5
authored
Apr 19, 2016
by
Nicolas Joyard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 'committee' spelling
parent
7b5674ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
representatives/contrib/francedata/variants.py
representatives/contrib/francedata/variants.py
+10
-10
No files found.
representatives/contrib/francedata/variants.py
View file @
a0fc2df5
...
...
@@ -78,8 +78,8 @@ def _get_rep_district_name(data):
return
'%s (%d%s circonscription)'
%
(
nom
,
num
,
ordinal
)
def
_get_sen_comittees
(
data
):
comittees
=
[]
def
_get_sen_com
m
ittees
(
data
):
com
m
ittees
=
[]
start
=
data
[
'mandat_debut'
]
for
g
in
data
[
'responsabilites'
]:
...
...
@@ -92,14 +92,14 @@ def _get_sen_comittees(data):
if
orga
in
_equiv_Com_SEN
:
orga
=
_equiv_Com_SEN
[
orga
]
comittees
.
append
({
com
m
ittees
.
append
({
'abbr'
:
_abbr_Com_SEN
[
orga
]
if
orga
in
_abbr_Com_SEN
else
''
,
'name'
:
orga
,
'role'
:
role
,
'start'
:
start
})
return
comittees
return
com
m
ittees
def
_get_sen_delegations
(
data
):
...
...
@@ -127,8 +127,8 @@ def _get_sen_delegations(data):
return
delegations
def
_get_an_comittees
(
data
):
comittees
=
[]
def
_get_an_com
m
ittees
(
data
):
com
m
ittees
=
[]
start
=
data
[
'mandat_debut'
]
for
g
in
data
[
'responsabilites'
]:
...
...
@@ -141,14 +141,14 @@ def _get_an_comittees(data):
if
orga
in
_equiv_Com_AN
:
orga
=
_equiv_Com_AN
[
orga
]
comittees
.
append
({
com
m
ittees
.
append
({
'abbr'
:
_abbr_Com_AN
[
orga
]
if
orga
in
_abbr_Com_AN
else
''
,
'name'
:
orga
,
'role'
:
role
,
'start'
:
start
})
return
comittees
return
com
m
ittees
def
_get_an_delegations
(
data
):
...
...
@@ -241,7 +241,7 @@ FranceDataVariants = {
{
"kind"
:
"committee"
,
"chamber"
:
True
,
"from"
:
_get_an_comittees
,
"from"
:
_get_an_com
m
ittees
,
"abbr"
:
"%(abbr)s"
,
"name"
:
"%(name)s"
,
"role"
:
"%(role)s"
,
...
...
@@ -301,7 +301,7 @@ FranceDataVariants = {
{
"kind"
:
"committee"
,
"chamber"
:
True
,
"from"
:
_get_sen_comittees
,
"from"
:
_get_sen_com
m
ittees
,
"abbr"
:
"%(abbr)s"
,
"name"
:
"%(name)s"
,
"role"
:
"%(role)s"
,
...
...
Write
Preview
Markdown
is supported
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