use __deref__() until we have something better
authorFelix Domke <tmbinc@elitedvb.net>
Mon, 30 Apr 2007 22:45:33 +0000 (22:45 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Mon, 30 Apr 2007 22:45:33 +0000 (22:45 +0000)
RecordTimer.py

index c9c8fe9..f4ec9a9 100644 (file)
@@ -313,7 +313,7 @@ class RecordTimerEntry(timer.TimerEntry, object):
 
        def gotRecordEvent(self, record, event):
                # TODO: this is not working (never true), please fix. (comparing two swig wrapped ePtrs)
 
        def gotRecordEvent(self, record, event):
                # TODO: this is not working (never true), please fix. (comparing two swig wrapped ePtrs)
-               if self.__record_service != record:
+               if self.__record_service.__deref__() != record.__deref__():
                        return
                self.log(16, "record event %d" % event)
                if event == iRecordableService.evRecordWriteError:
                        return
                self.log(16, "record event %d" % event)
                if event == iRecordableService.evRecordWriteError: