astrobase/lcdb.py
def rollback(self):
        '''
        This just calls the connection's commit method.

        '''
        if not self.connection.closed:
            self.connection.rollback()
        else:
            raise AttributeError('postgres connection to %s is closed' %
                                 self.database)
def rollback(self):
        '''
        This just calls the connection's commit method.

        '''
        if not self.connection.closed:
            self.connection.rollback()
        else:
            raise AttributeError('postgres connection to %s is closed' %
                                 self.database)
def rollback ( self ) : if not self . connection . closed : self . connection . rollback ( ) else : raise AttributeError ( 'postgres connection to %s is closed' % self . database )
This just calls the connection's commit method.
This just calls the connection s commit method .