Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
piphone
campaign
Commits
a5c2c7fa
Commit
a5c2c7fa
authored
May 16, 2016
by
okhin
Browse files
fixing the lambda syntax
parent
4a29705a
Changes
1
Hide whitespace changes
Inline
Side-by-side
picampaign/campaign/models.py
View file @
a5c2c7fa
...
...
@@ -6,7 +6,7 @@ from picampaign.organization.models import Organization
from
picampaign.contact.models
import
Contact
LANGUAGES
=
map
(
lambda
(
k
,
v
)
:
(
k
,
_
(
v
)),
settings
.
LANGUAGES
)
LANGUAGES
=
map
(
lambda
k
,
v
:
(
k
,
_
(
v
)),
settings
.
LANGUAGES
)
class
Campaign
(
models
.
Model
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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