Commits

Yuya Nishihara  committed ef36624

import: remove unused variable

  • Participants
  • Parent commits 234fc72

Comments (0)

Files changed (1)

File tortoisehg/hgqt/thgimport.py

         cmdline = list(self._targetcommand())
         if cmdline == ['copy']:
             # import to shelf
-            existing = self.repo.thgshelves()
+            self.repo.thgshelves()  # initialize repo.shelfdir
             if not os.path.exists(self.repo.shelfdir):
                 os.mkdir(self.repo.shelfdir)
             for file in self.cslist.curitems: