VCS/StatusMonitorThread.py

changeset 2318
3a3ee7cc2ad6
parent 2302
f29e9405c851
child 2525
8b507a9a2d40
child 2965
d133c7edd88a
equal deleted inserted replaced
2317:ac7ffbf5b36b 2318:3a3ee7cc2ad6
79 else: 79 else:
80 self.vcsStatusMonitorStatus.emit( 80 self.vcsStatusMonitorStatus.emit(
81 "timeout", self.trUtf8("Timed out waiting for lock")) 81 "timeout", self.trUtf8("Timed out waiting for lock"))
82 82
83 if self.autoUpdate and self.shouldUpdate: 83 if self.autoUpdate and self.shouldUpdate:
84 try: 84 self.vcs.vcsUpdate(self.projectDir, True)
85 self.vcs.vcsUpdate(self.projectDir, True) 85 continue # check again
86 continue # check again
87 except TypeError:
88 pass # compatibility for older VCS plugins
89 self.shouldUpdate = False 86 self.shouldUpdate = False
90 87
91 # wait until interval has expired checking for a stop condition 88 # wait until interval has expired checking for a stop condition
92 self.monitorMutex.lock() 89 self.monitorMutex.lock()
93 if not self.__stopIt: 90 if not self.__stopIt:

eric ide

mercurial