From: Tony Mack Date: Sat, 12 Oct 2013 14:29:19 +0000 (-0400) Subject: enable jordan's hotfix X-Git-Tag: sfa-3.0-2-bonfire-r1-0~22 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=c5cd232d4c9f333694b8c85dcaf36fd8df1ef0e0 enable jordan's hotfix --- diff --git a/sfa/importer/plimporter.py b/sfa/importer/plimporter.py index 26d1ccdc..41325a89 100644 --- a/sfa/importer/plimporter.py +++ b/sfa/importer/plimporter.py @@ -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