def finished(self):
        print 'RefPath(%s): Finished ReferrerSearch for %s' %(self._id, fastRepr(self.obj))
        self.obj = None

        safeReprNotify = _getSafeReprNotify()
        safeReprNotify.setInfo(self.info)
        pass
Esempio n. 2
0
    def __call__(self):
        safeReprNotify = _getSafeReprNotify()
        info = safeReprNotify.getInfo()
        safeReprNotify.setInfo(0)

        self.visited = set()
        try:
            self.step(0, [self.obj])
        finally:
            self.obj = None

        safeReprNotify.setInfo(info)
    def run(self):
        safeReprNotify = _getSafeReprNotify()
        self.info = safeReprNotify.getInfo()
        safeReprNotify.setInfo(0)
        print 'RefPath(%s): Beginning ReferrerSearch for %s' % (
            self._id, fastRepr(self.obj))
        self.visited = set()
        for x in self.stepGenerator(0, [self.obj]):
            yield

        yield Job.Done
        return
    def run(self):
        safeReprNotify = _getSafeReprNotify()
        self.info = safeReprNotify.getInfo()
        safeReprNotify.setInfo(0)

        print 'RefPath(%s): Beginning ReferrerSearch for %s' %(self._id, fastRepr(self.obj))

        self.visited = set()
        for x in self.stepGenerator(0, [self.obj]):
            yield None
            pass
        
        yield Job.Done
        pass
    def __call__(self):
        safeReprNotify = _getSafeReprNotify()
        info = safeReprNotify.getInfo()
        safeReprNotify.setInfo(0)

        self.visited = set()
        try:
            self.step(0, [self.obj])
        finally:
            self.obj = None
            pass
        
        safeReprNotify.setInfo(info)
        pass