def update(self,o):
        """Update from another index or index dict"""

        self.open()

        try:
            self._db.update(o._db)
        except AttributeError:
            self._db.update(o)
def update ( self , o ) : self . open ( ) try : self . _db . update ( o . _db ) except AttributeError : self . _db . update ( o )
Update from another index or index dict