title: Iterate on OrientRecord object
body: <p>I am trying to increment twice in a loop and print the OrientRecord Objects using Python.
  Following is my code - </p>
  
  <pre><code>for items in iteritems:
      x = items.oRecordData
      print (x['attribute1'])
      y=(next(items)).oRecordData #Here is the error
      print (y['attribute2'])
  </code></pre>
  
  <p>Here, iteritems is a list of OrientRecord objects. I have to print attributes of two consecutive objects in one loop.</p>
  
  <p>I am getting the following error - </p>
  
  <blockquote>
    <p>TypeError: 'OrientRecord' object is not an iterator</p>
  </blockquote>