diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-08-29 15:39:44 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-08-29 15:39:44 +0200 |
commit | d323cdcbf698fefa9f2d29589261d0757f4417c9 (patch) | |
tree | 2b85c3e81e5b7849c962502fbe1d654094443865 /archaeological_operations/wizards.py | |
parent | d48e91db62ec07eb11fbc8b6b5360ef7a45c4cd0 (diff) | |
download | Ishtar-d323cdcbf698fefa9f2d29589261d0757f4417c9.tar.bz2 Ishtar-d323cdcbf698fefa9f2d29589261d0757f4417c9.zip |
Make all "short_label" properties (refs #1370)
Diffstat (limited to 'archaeological_operations/wizards.py')
-rw-r--r-- | archaeological_operations/wizards.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_operations/wizards.py b/archaeological_operations/wizards.py index 419cac895..d24b380dd 100644 --- a/archaeological_operations/wizards.py +++ b/archaeological_operations/wizards.py @@ -100,7 +100,7 @@ class OperationWizard(Wizard): try: for parcel in models.File.objects.get(pk=int(file_id) ).parcels.all(): - parcels.append((parcel.pk, parcel.short_label())) + parcels.append((parcel.pk, parcel.short_label)) except (ValueError, ObjectDoesNotExist): pass data['PARCELS'] = sorted(parcels, key=lambda x:x[1]) |