"""
$URL: svn+ssh://svn.mems-exchange.org/repos/trunk/dulcinea/lib/keyed.py $
$Id: keyed.py 27650 2005-10-31 15:22:48Z dbinger $

Deprecated, use qp keep instead.
"""

# def keyed_map_to_keep(connection):
#     """function to help convert keyed instances stored in durus to keep
#     """
#     from durus.connection import gen_every_instance 
#     classes = set()
#     for keyed_map in gen_every_instance('KeyedMap'):
#         if isinstance(keyed_map.key_counter, int):
#             classes.add(keyed_map.__class__.__name__)
#             counter = Counter()
#             counter.next_available = keyed_map.key_counter
#             keyed_map.key_counter = counter
#     touch_every_reference(connection, *classes)
