def _execute_pragmas(self, in_cursor):
    if ((self.pragmas is not None) and (self.pragmas != '')):
        in_cursor.executescript(self.pragmas)
        log.debug("Executed pragmas '%s' successfully", self.pragmas)
def _execute_pragmas(self, in_cursor):
    if ((self.pragmas is not None) and (self.pragmas != )):
        in_cursor.executescript(self.pragmas)
        log.debug("Executed pragmas '%s' successfully", self.pragmas)