Changes between Initial Version and Version 1 of Ticket #22420, comment 17


Ignore:
Timestamp:
Nov 10, 2014, 6:10:44 AM (10 years ago)
Author:
klaus triendl

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22420, comment 17

    initial v1  
    1111    """
    1212    def _close_db_connections(*args, **kwargs):
     13        ret = None
    1314        try:
    14             func(*args, **kwargs)
     15            ret = func(*args, **kwargs)
    1516        finally:
    1617            for conn in connections.all():
    1718                conn.close()
     19        return ret
    1820    return _close_db_connections
    1921}}}
Back to Top