From: Tony Mack Date: Wed, 5 Aug 2009 18:45:57 +0000 (+0000) Subject: 'person' should be 'persons' X-Git-Tag: sfa-0.9-1~118 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=ae285ada5ad5b1100c71fa5baad86be9cd74723f;p=sfa.git 'person' should be 'persons' --- diff --git a/sfa/plc/slices.py b/sfa/plc/slices.py index bcdfc290..2bc10689 100644 --- a/sfa/plc/slices.py +++ b/sfa/plc/slices.py @@ -239,7 +239,7 @@ class Slices(SimpleStorage): self.api.plshell.BindObjectToPeer(self.api.plauth, 'person', person_id, peer, person_record['pointer']) key_ids = [] else: - preson_id = person[0]['person_id'] + preson_id = persons[0]['person_id'] key_ids = persons[0]['key_ids'] # if this is a peer person, we must unbind them from the peer or PLCAPI will throw