--- a/Plugins/VcsPlugins/vcsMercurial/HisteditExtension/HgHisteditPlanEditor.py Sun Nov 06 13:31:38 2016 +0100 +++ b/Plugins/VcsPlugins/vcsMercurial/HisteditExtension/HgHisteditPlanEditor.py Sun Nov 06 13:39:36 2016 +0100 @@ -7,6 +7,8 @@ Module implementing a dialog to edit the history modification plan. """ +from __future__ import unicode_literals + from PyQt5.QtCore import pyqtSlot, QCoreApplication from PyQt5.QtWidgets import QDialog, QTreeWidgetItem, QComboBox @@ -140,6 +142,9 @@ def __createPlanItem(self, text): """ Private method to create an edit plan tree item. + + @param text line of text to be parsed + @type str """ if not text.lstrip(): return