Commits

Steve Borho committed c0514e8

revset: remove unnecessary lines

Comments (0)

Files changed (1)

tortoisehg/hgqt/revset.py

         self.progress.emit(*cmdui.stopProgress(_('Running')))
 
     def returnPressed(self):
-        text = self.entry.text()
         if self.entry.hasSelectedText():
             lineFrom, indexFrom, lineTo, indexTo = self.entry.getSelection()
             start = self.entry.positionFromLineIndex(lineFrom, indexFrom)
             self.runQuery()
         self.entry.setFocus()
 
-
     def currentItemChanged(self, current, previous):
         if current is None:
             return