equal
deleted
inserted
replaced
77 vobj = cls |
77 vobj = cls |
78 oid = vobj.id |
78 oid = vobj.id |
79 ret = selector(cls, *args, **kwargs) |
79 ret = selector(cls, *args, **kwargs) |
80 if TRACED_OIDS == 'all' or oid in TRACED_OIDS: |
80 if TRACED_OIDS == 'all' or oid in TRACED_OIDS: |
81 #SELECTOR_LOGGER.warning('selector %s returned %s for %s', selname, ret, cls) |
81 #SELECTOR_LOGGER.warning('selector %s returned %s for %s', selname, ret, cls) |
82 print 'selector %s returned %s for %s' % (selname, ret, vobj) |
82 print '%s -> %s for %s' % (selname, ret, vobj) |
83 return ret |
83 return ret |
84 traced.__name__ = selector.__name__ |
84 traced.__name__ = selector.__name__ |
85 return traced |
85 return traced |
86 |
86 |
87 class traced_selection(object): |
87 class traced_selection(object): |