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: |