Plugins/VcsPlugins/vcsSubversion/SvnRepoBrowserDialog.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3178
f25fc1364c88
parent 3190
a9a94491c4fd
child 3591
2f2a4a76dd22
equal deleted inserted replaced
3456:96232974dcdb 3484:645c12de6b0c
7 Module implementing the subversion repository browser dialog. 7 Module implementing the subversion repository browser dialog.
8 """ 8 """
9 9
10 from __future__ import unicode_literals 10 from __future__ import unicode_literals
11 try: 11 try:
12 str = unicode # __IGNORE_WARNING__ 12 str = unicode
13 except (NameError): 13 except NameError:
14 pass 14 pass
15 15
16 import os 16 import os
17 17
18 from PyQt4.QtGui import QCursor, QHeaderView, QLineEdit, QDialog, \ 18 from PyQt4.QtGui import QCursor, QHeaderView, QLineEdit, QDialog, \
188 self.errors.ensureCursorVisible() 188 self.errors.ensureCursorVisible()
189 else: 189 else:
190 QApplication.restoreOverrideCursor() 190 QApplication.restoreOverrideCursor()
191 E5MessageBox.critical( 191 E5MessageBox.critical(
192 self, 192 self,
193 self.trUtf8('Process Generation Error'), 193 self.tr('Process Generation Error'),
194 self.trUtf8( 194 self.tr(
195 'The process {0} could not be started. ' 195 'The process {0} could not be started. '
196 'Ensure, that it is in the search path.' 196 'Ensure, that it is in the search path.'
197 ).format('svn')) 197 ).format('svn'))
198 return repoRoot 198 return repoRoot
199 199
261 self.__finish() 261 self.__finish()
262 self.inputGroup.setEnabled(False) 262 self.inputGroup.setEnabled(False)
263 self.inputGroup.hide() 263 self.inputGroup.hide()
264 E5MessageBox.critical( 264 E5MessageBox.critical(
265 self, 265 self,
266 self.trUtf8('Process Generation Error'), 266 self.tr('Process Generation Error'),
267 self.trUtf8( 267 self.tr(
268 'The process {0} could not be started. ' 268 'The process {0} could not be started. '
269 'Ensure, that it is in the search path.' 269 'Ensure, that it is in the search path.'
270 ).format('svn')) 270 ).format('svn'))
271 else: 271 else:
272 self.inputGroup.setEnabled(True) 272 self.inputGroup.setEnabled(True)

eric ide

mercurial