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