ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/ns_dev/Python/NinoCode/Tool_Box/RelativityLib.py
(Generate patch)

Comparing Python/NinoCode/Tool_Box/RelativityLib.py (file contents):
Revision 578 by nino.borges, Wed Feb 4 16:05:05 2015 UTC vs.
Revision 579 by nino.borges, Thu Mar 26 13:50:08 2015 UTC

# Line 147 | Line 147 | class CustomObjectTable(Relativity_Conne
147          print rlResponseCode
148          self.currentItems = rlResponse['Results']
149          #print self.currentItems
150 <        self.UpdateFieldMatrix(self.currentItems[0]['__Fields'])
151 <        self.currentItemCount = len(self.currentItems)
150 >        if self.currentItems:
151 >            self.UpdateFieldMatrix(self.currentItems[0]['__Fields'])
152 >            self.currentItemCount = len(self.currentItems)
153 >            
154          return self.currentItems
155      
156      def UpdateItemMatrix(self):

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)