From: Sapan Bhatia Date: Tue, 27 Jul 2010 18:59:51 +0000 (-0400) Subject: Fixed indentation X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=71869a77cb319209f0661f590e1f2d098cb24787;p=plcapi.git Fixed indentation --- diff --git a/PLC/Methods/AddPersonToSlice.py b/PLC/Methods/AddPersonToSlice.py index de4974b7..80383d6a 100644 --- a/PLC/Methods/AddPersonToSlice.py +++ b/PLC/Methods/AddPersonToSlice.py @@ -29,14 +29,14 @@ class AddPersonToSlice(Method): def call(self, auth, person_id_or_email, slice_id_or_name): # Get account information - # SSS: Change call to Persons + # SSS: Change call to Persons persons = Persons(self.api, [person_id_or_email]) if not persons: raise PLCInvalidArgument, "No such account" person = persons[0] - ### The code below will eventually turn into a big UPDATE ... WHERE + ### The code below will eventually turn into a big UPDATE ... WHERE # Get slice information slices = Slices(self.api, self.caller, [slice_id_or_name]) @@ -44,7 +44,7 @@ class AddPersonToSlice(Method): raise PLCInvalidArgument, "No such slice or access denied to requested slice" slice = slices[0] - slices.update_rows(['key':'slice_person','type':Person,'value':person) + slices.update_rows(['key':'slice_person','type':Person,'value':person) # Logging variables self.event_objects = {'Person': [person['person_id']],