eric6/Plugins/VcsPlugins/vcsPySvn/SvnDialogMixin.py

changeset 7759
51aa6c6b66f7
parent 7360
9190402e4505
child 7771
787a6b3f8c9f
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnDialogMixin.py	Mon Oct 05 19:51:55 2020 +0200
+++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnDialogMixin.py	Tue Oct 06 17:52:44 2020 +0200
@@ -68,7 +68,7 @@
             QApplication.restoreOverrideCursor()
         parent = isinstance(self, QWidget) and self or None
         dlg = SvnLoginDialog(realm, username, may_save, parent)
-        res = dlg.exec_()
+        res = dlg.exec()
         if cursor is not None:
             QApplication.setOverrideCursor(Qt.WaitCursor)
         if res == QDialog.Accepted:
@@ -118,7 +118,7 @@
         tempButton = msgBox.addButton(self.tr("&Temporary accept"),
                                       E5MessageBox.AcceptRole)
         msgBox.addButton(self.tr("&Reject"), E5MessageBox.RejectRole)
-        msgBox.exec_()
+        msgBox.exec()
         if cursor is not None:
             QApplication.setOverrideCursor(Qt.WaitCursor)
         if msgBox.clickedButton() == permButton:
@@ -140,7 +140,7 @@
         else:
             # call CommitDialog and get message from there
             dlg = SvnCommitDialog(self)
-            if dlg.exec_() == QDialog.Accepted:
+            if dlg.exec() == QDialog.Accepted:
                 msg = dlg.logMessage()
                 if msg:
                     return True, msg

eric ide

mercurial