Logo Search packages:      
Sourcecode: papercut version File versions  Download package

def storage::mysql::Papercut_Storage::quote_string (   self,
  text 
)

Quotes strings the MySQL way.

Definition at line 28 of file mysql.py.

00028                                 :
        """Quotes strings the MySQL way."""
        return text.replace("'", "\\'")

    def get_body(self, lines):


Generated by  Doxygen 1.6.0   Back to index