1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

Yuya Nishihara  committed ee26641

cslist: clean up unused imports and variables

  • Participants
  • Parent commits c3f7cec
  • Branches default

Comments (0)

Files changed (1)

File tortoisehg/hgqt/cslist.py

View file
 
 import os
 
-from mercurial import hg
-
 from PyQt4.QtCore import *
 from PyQt4.QtGui import *
-from tortoisehg.hgqt import csinfo, qtlib, thgrepo
+from tortoisehg.hgqt import csinfo, qtlib
 from tortoisehg.hgqt.i18n import _
 from tortoisehg.util.patchctx import patchctx
 
             showitems, lastitem = items[:self.limit - 1], items[-1]
         else:
             showitems, lastitem = items, None
-        numshow = len(showitems) + (lastitem and 1 or 0)
         self.showitems = showitems + (lastitem and [lastitem] or [])
 
         # show items