diff options
| author | Étienne Loks <etienne.loks@proxience.com> | 2015-06-17 02:46:43 +0200 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@proxience.com> | 2015-06-17 02:46:43 +0200 | 
| commit | e4179806c60905ef3fea9de6a6f14dd686298a72 (patch) | |
| tree | 917d13b036ccd04d2eed3a7703d026a32e34fe60 /archaeological_operations/models.py | |
| parent | c5920cbb296369478defce4da50202a880ef2f80 (diff) | |
| parent | d57040f2c0c4c496f97e3d7bdf9a14db927de672 (diff) | |
| download | Ishtar-e4179806c60905ef3fea9de6a6f14dd686298a72.tar.bz2 Ishtar-e4179806c60905ef3fea9de6a6f14dd686298a72.zip | |
Merge branch 'stable'
Diffstat (limited to 'archaeological_operations/models.py')
| -rw-r--r-- | archaeological_operations/models.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index 6b44fb924..d8c16f2d4 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -757,7 +757,7 @@ def parcel_post_save(sender, **kwargs):      parcel = kwargs['instance']      if parcel.operation and parcel.town not in parcel.operation.towns.all():          parcel.operation.towns.add(parcel.town) -    elif FILES_AVAILABLE and parcel.associated_file and \ +    if FILES_AVAILABLE and parcel.associated_file and \         parcel.town not in parcel.associated_file.towns.all():          parcel.associated_file.towns.add(parcel.town)      if not FILES_AVAILABLE: | 
