enable jordan's hotfix
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Sat, 12 Oct 2013 14:29:19 +0000 (10:29 -0400)
committerMohamed Larabi <mohamed.larabi@inria.fr>
Wed, 23 Oct 2013 13:07:50 +0000 (15:07 +0200)
sfa/importer/plimporter.py

index 26d1ccd..41325a8 100644 (file)
@@ -376,7 +376,7 @@ class PlImporter:
             # being improperly handled, and where the whole loop on persons
             # could be performed twice with the same person...
             # so hopefully we do not need to eliminate duplicates explicitly here anymore
-            site_record.reg_pis = site_pis
+            site_record.reg_pis = list(set(site_pis))
             dbsession.commit()
 
             # import slices