3008:7848489bcb92 | 3009:bf5ae5d7477d |
---|---|
2 | 2 |
3 # Copyright (c) 2003 - 2013 Detlev Offenbach <detlev@die-offenbachs.de> | 3 # Copyright (c) 2003 - 2013 Detlev Offenbach <detlev@die-offenbachs.de> |
4 # | 4 # |
5 | 5 |
6 """ | 6 """ |
7 Module implementing a dialog to show the output of the svn proplist command process. | 7 Module implementing a dialog to show the output of the svn proplist command |
8 process. | |
8 """ | 9 """ |
9 | 10 |
10 import os | 11 import os |
11 | 12 |
12 import pysvn | 13 import pysvn |
19 from .Ui_SvnPropListDialog import Ui_SvnPropListDialog | 20 from .Ui_SvnPropListDialog import Ui_SvnPropListDialog |
20 | 21 |
21 | 22 |
22 class SvnPropListDialog(QWidget, SvnDialogMixin, Ui_SvnPropListDialog): | 23 class SvnPropListDialog(QWidget, SvnDialogMixin, Ui_SvnPropListDialog): |
23 """ | 24 """ |
24 Class implementing a dialog to show the output of the svn proplist command process. | 25 Class implementing a dialog to show the output of the svn proplist command |
26 process. | |
25 """ | 27 """ |
26 def __init__(self, vcs, parent=None): | 28 def __init__(self, vcs, parent=None): |
27 """ | 29 """ |
28 Constructor | 30 Constructor |
29 | 31 |
116 self.__finish() | 118 self.__finish() |
117 os.chdir(cwd) | 119 os.chdir(cwd) |
118 | 120 |
119 def __finish(self): | 121 def __finish(self): |
120 """ | 122 """ |
121 Private slot called when the process finished or the user pressed the button. | 123 Private slot called when the process finished or the user pressed the |
124 button. | |
122 """ | 125 """ |
123 if not self.propsFound: | 126 if not self.propsFound: |
124 self.__generateItem("", self.trUtf8("None"), "") | 127 self.__generateItem("", self.trUtf8("None"), "") |
125 | 128 |
126 self.__resort() | 129 self.__resort() |