Revision 7759260d pithos/backends/lib/sqlalchemy/dbworker.py

b/pithos/backends/lib/sqlalchemy/dbworker.py
39 39
        self.params = params
40 40
        self.conn = params['wrapper'].conn
41 41
        self.engine = params['wrapper'].engine
42
    
43
    def escape_like(self, s):
44
        return s.replace('\\', '\\\\').replace('%', '\%').replace('_', '\_')

Also available in: Unified diff