Plugins/VcsPlugins/vcsSubversion/SvnCopyDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2357
f6a2cbf3f514
child 3057
10516539f238
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing a dialog to enter the data for a copy operation. 7 Module implementing a dialog to enter the data for a copy operation.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 import os.path 12 import os.path
11 13
12 from PyQt4.QtCore import pyqtSlot 14 from PyQt4.QtCore import pyqtSlot
13 from PyQt4.QtGui import QDialog, QDialogButtonBox 15 from PyQt4.QtGui import QDialog, QDialogButtonBox
31 @param source name of the source file/directory (string) 33 @param source name of the source file/directory (string)
32 @param parent parent widget (QWidget) 34 @param parent parent widget (QWidget)
33 @param move flag indicating a move operation (boolean) 35 @param move flag indicating a move operation (boolean)
34 @param force flag indicating a forced operation (boolean) 36 @param force flag indicating a forced operation (boolean)
35 """ 37 """
36 super().__init__(parent) 38 super(SvnCopyDialog, self).__init__(parent)
37 self.setupUi(self) 39 self.setupUi(self)
38 40
39 self.source = source 41 self.source = source
40 if os.path.isdir(self.source): 42 if os.path.isdir(self.source):
41 self.targetCompleter = E5DirCompleter(self.targetEdit) 43 self.targetCompleter = E5DirCompleter(self.targetEdit)

eric ide

mercurial