8 process. |
8 process. |
9 """ |
9 """ |
10 |
10 |
11 from __future__ import unicode_literals |
11 from __future__ import unicode_literals |
12 try: |
12 try: |
13 str = unicode # __IGNORE_WARNING__ |
13 str = unicode |
14 except (NameError): |
14 except NameError: |
15 pass |
15 pass |
16 |
16 |
17 from PyQt4.QtCore import QTimer, QProcess, QProcessEnvironment, QRegExp, Qt |
17 from PyQt4.QtCore import QTimer, QProcess, QProcessEnvironment, QRegExp, Qt |
18 from PyQt4.QtGui import QWidget, QHeaderView, QDialogButtonBox, QTreeWidgetItem |
18 from PyQt4.QtGui import QWidget, QHeaderView, QDialogButtonBox, QTreeWidgetItem |
19 |
19 |
129 self.process.start('svn', args) |
129 self.process.start('svn', args) |
130 procStarted = self.process.waitForStarted(5000) |
130 procStarted = self.process.waitForStarted(5000) |
131 if not procStarted: |
131 if not procStarted: |
132 E5MessageBox.critical( |
132 E5MessageBox.critical( |
133 self, |
133 self, |
134 self.trUtf8('Process Generation Error'), |
134 self.tr('Process Generation Error'), |
135 self.trUtf8( |
135 self.tr( |
136 'The process {0} could not be started. ' |
136 'The process {0} could not be started. ' |
137 'Ensure, that it is in the search path.' |
137 'Ensure, that it is in the search path.' |
138 ).format('svn')) |
138 ).format('svn')) |
139 |
139 |
140 def __finish(self): |
140 def __finish(self): |