eric7/Plugins/VcsPlugins/vcsGit/GitPatchStatisticsDialog.py

branch
eric7
changeset 8356
68ec9c3d4de5
parent 8318
962bce857696
child 8358
144a6b854f70
equal deleted inserted replaced
8355:8a7677a63c8d 8356:68ec9c3d4de5
10 import os 10 import os
11 11
12 from PyQt6.QtCore import Qt, QProcess 12 from PyQt6.QtCore import Qt, QProcess
13 from PyQt6.QtWidgets import QDialog, QTreeWidgetItem, QHeaderView 13 from PyQt6.QtWidgets import QDialog, QTreeWidgetItem, QHeaderView
14 14
15 from E5Gui import E5MessageBox 15 from E5Gui import EricMessageBox
16 16
17 from .Ui_GitPatchStatisticsDialog import Ui_GitPatchStatisticsDialog 17 from .Ui_GitPatchStatisticsDialog import Ui_GitPatchStatisticsDialog
18 18
19 import Preferences 19 import Preferences
20 20
82 args.extend(patchFilesList) 82 args.extend(patchFilesList)
83 83
84 process.start('git', args) 84 process.start('git', args)
85 procStarted = process.waitForStarted(5000) 85 procStarted = process.waitForStarted(5000)
86 if not procStarted: 86 if not procStarted:
87 E5MessageBox.critical( 87 EricMessageBox.critical(
88 self, 88 self,
89 self.tr('Process Generation Error'), 89 self.tr('Process Generation Error'),
90 self.tr( 90 self.tr(
91 'The process {0} could not be started. ' 91 'The process {0} could not be started. '
92 'Ensure, that it is in the search path.' 92 'Ensure, that it is in the search path.'
112 args.extend(patchFilesList) 112 args.extend(patchFilesList)
113 113
114 process.start('git', args) 114 process.start('git', args)
115 procStarted = process.waitForStarted(5000) 115 procStarted = process.waitForStarted(5000)
116 if not procStarted: 116 if not procStarted:
117 E5MessageBox.critical( 117 EricMessageBox.critical(
118 self, 118 self,
119 self.tr('Process Generation Error'), 119 self.tr('Process Generation Error'),
120 self.tr( 120 self.tr(
121 'The process {0} could not be started. ' 121 'The process {0} could not be started. '
122 'Ensure, that it is in the search path.' 122 'Ensure, that it is in the search path.'

eric ide

mercurial