Ignore:
Timestamp:
27 May 2009, 08:41:06 (15 years ago)
Author:
uli
Message:

Add convenience method to retrieve a dict of available receivers keyed by their receiverids.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-rewrite/src/waeup/datacenter.py

    r4175 r4177  
    2929            curr_obj = getattr(curr_obj, '__parent__', None)
    3030        return receivers
     31
     32    def getReceiverIds(self):
     33        receivers = self.getReceivers()
     34        return dict([(self.getReceiverId(x), x) for x in receivers])
    3135   
    3236    def getImporters(self):
Note: See TracChangeset for help on using the changeset viewer.