equal
deleted
inserted
replaced
522 pass |
522 pass |
523 def rollback(self): |
523 def rollback(self): |
524 pass |
524 pass |
525 def cursor(self): |
525 def cursor(self): |
526 return None # no actual cursor support |
526 return None # no actual cursor support |
527 |
527 def close(self): |
|
528 if hasattr(self.cnx, 'close'): |
|
529 self.cnx.close() |
528 |
530 |
529 from cubicweb.server import SOURCE_TYPES |
531 from cubicweb.server import SOURCE_TYPES |
530 |
532 |
531 def source_adapter(source_type): |
533 def source_adapter(source_type): |
532 try: |
534 try: |