Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.1, 2.1.1, and 2.1.2

run: remove unused imports and unused variables

Changeset 942ea2d9c476

Parent 0f97b1641f2a

by Steve Borho

Changes to one file · Browse files at 942ea2d9c476 Showing diff from parent 0f97b1641f2a Diff from another changeset...

 
22
23
24
25
 
26
27
28
 
29
30
31
 
131
132
133
134
 
135
136
137
 
477
478
479
480
 
481
482
483
 
22
23
24
 
25
26
27
 
28
29
30
31
 
131
132
133
 
134
135
136
137
 
477
478
479
 
480
481
482
483
@@ -22,10 +22,10 @@
 from PyQt4.QtGui import *    import mercurial.ui as uimod -from mercurial import hg, util, fancyopts, cmdutil, extensions, error +from mercurial import util, fancyopts, cmdutil, extensions, error    from tortoisehg.hgqt.i18n import agettext as _ -from tortoisehg.util import hglib, paths, shlib, i18n +from tortoisehg.util import hglib, paths, i18n  from tortoisehg.util import version as thgversion  from tortoisehg.hgqt import qtlib  from tortoisehg.hgqt.bugreport import run as bugrun @@ -131,7 +131,7 @@
  _linesutf8 = lines   else:   _lines = lines - except IOError, e: + except IOError:   sys.stderr.write(_('can not read file "%s". Ignored.\n') % filename)    def get_files_from_listfile(): @@ -477,7 +477,7 @@
  # dialog windows. Since thgrepo instances are cached, this   # is not wasted.   from tortoisehg.hgqt import thgrepo - repo = thgrepo.repository(ui, opts['repository']) + thgrepo.repository(ui, opts['repository'])   except error.RepoError, e:   qtlib.WarningMsgBox(_('Repository Error'),   hglib.tounicode(str(e)))