Commits

Steve Borho committed ce8d2fb

editfiles: minor cleanup

Comments (0)

Files changed (1)

tortoisehg/hgqt/qtlib.py

     else:
         cwd = repo.root
     files = [util.shellquote(util.localpath(f)) for f in files]
+    assert len(files) == 1 or lineno == None
     editor = detecteditor(repo.ui)
-    assert len(files) == 1 or lineno == None
     if editor:
         try:
             regexp = re.compile('\[([^\]]*)\]')