summaryrefslogtreecommitdiff
path: root/archaeological_operations/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-08-25 14:12:59 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-08-25 14:12:59 +0200
commite4683cadd200ec3b279addf973d4329f139d0d71 (patch)
treee9d0a612ada1fe83687fe0380b2288b325f92d6e /archaeological_operations/forms.py
parentb34ca9ce2136a6b241403078a4041f143b361927 (diff)
parent8afe0cd9b3e515b121cdf0e1f95850d28b9e84a7 (diff)
downloadIshtar-e4683cadd200ec3b279addf973d4329f139d0d71.tar.bz2
Ishtar-e4683cadd200ec3b279addf973d4329f139d0d71.zip
Merge branch 'v0.9' into wheezy
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r--archaeological_operations/forms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py
index d2303a43b..d524fdbc5 100644
--- a/archaeological_operations/forms.py
+++ b/archaeological_operations/forms.py
@@ -841,8 +841,8 @@ class OperationFormGeneral(forms.Form):
if 'pk' in cleaned_data and cleaned_data['pk']:
ops = ops.exclude(pk=cleaned_data['pk'])
if ops.count():
- msg = _(u"Ce code Patriarche a déjà été affecté à une "
- u"autre opération")
+ msg = u"Ce code Patriarche a déjà été affecté à une "\
+ u"autre opération"
raise forms.ValidationError(msg)
# manage unique operation ID
year = self.cleaned_data.get("year")