equal
deleted
inserted
replaced
570 pass |
570 pass |
571 def rollback(self): |
571 def rollback(self): |
572 pass |
572 pass |
573 def cursor(self): |
573 def cursor(self): |
574 return None # no actual cursor support |
574 return None # no actual cursor support |
575 |
575 def close(self): |
|
576 if hasattr(self.cnx, 'close'): |
|
577 self.cnx.close() |
576 |
578 |
577 from cubicweb.server import SOURCE_TYPES |
579 from cubicweb.server import SOURCE_TYPES |
578 |
580 |
579 def source_adapter(source_type): |
581 def source_adapter(source_type): |
580 try: |
582 try: |