Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py

changeset 3036
30c81c9e88b8
parent 3034
7ce719013078
child 3060
5883ce99ee12
child 3160
209a07d7e401
--- a/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Sat Oct 19 14:05:26 2013 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Sat Oct 19 15:15:50 2013 +0200
@@ -10,7 +10,7 @@
 import os
 
 from PyQt4.QtCore import pyqtSlot, Qt, QDate, QProcess, QTimer, QRegExp, \
-     QSize, QPoint
+    QSize, QPoint
 from PyQt4.QtGui import QDialog, QDialogButtonBox, QHeaderView, \
     QTreeWidgetItem, QApplication, QCursor, QLineEdit, QColor, \
     QPixmap, QPainter, QPen, QBrush, QIcon
@@ -933,8 +933,8 @@
         
         while self.process.canReadLine():
             line = str(self.process.readLine(),
-                        Preferences.getSystem("IOEncoding"),
-                        'replace')
+                       Preferences.getSystem("IOEncoding"),
+                       'replace')
             self.buf.append(line)
     
     def __readStderr(self):
@@ -946,8 +946,8 @@
         """
         if self.process is not None:
             s = str(self.process.readAllStandardError(),
-                     Preferences.getSystem("IOEncoding"),
-                     'replace')
+                    Preferences.getSystem("IOEncoding"),
+                    'replace')
             self.__showError(s)
     
     def __showError(self, out):
@@ -1042,7 +1042,7 @@
             # step 2: set the status of the phase button
             if public == 0 and \
                ((secret > 0 and draft == 0) or
-                (secret == 0 and draft > 0)):
+                    (secret == 0 and draft > 0)):
                 self.phaseButton.setEnabled(True)
             else:
                 self.phaseButton.setEnabled(False)

eric ide

mercurial