Commits

Steve Borho  committed d13d65b

editfiles: remove ignored and unused editor argument

  • Participants
  • Parent commits 3f2e953

Comments (0)

Files changed (1)

File tortoisehg/hgqt/qtlib.py

     for filename in files:
         openlocalurl(repo.wjoin(filename))
 
-def editfiles(repo, files, lineno=None, search=None, parent=None, editor=None):
+def editfiles(repo, files, lineno=None, search=None, parent=None):
     if len(files) == 1:
         filename = files[0].strip()
         if not filename:
     files = [util.shellquote(util.localpath(f)) for f in files]
     editor = repo.ui.config('tortoisehg', 'editor')
     assert len(files) == 1 or lineno == None
-    if not editor:
-        editor = repo.ui.config('tortoisehg', 'editor')
     if editor:
         try:
             regexp = re.compile('\[([^\]]*)\]')