1. TortoiseHg
  2. TortoiseHg
  3. hgtk

Commits

Martin Geisler  committed 0cdae6b

status: rename var to avoid confusing due to name clash with module name

  • Participants
  • Parent commits 6df34a9
  • Branches hgtk

Comments (0)

Files changed (1)

File tortoisehg/hgtk/status.py

View file
     def tree_sel_changed(self, selection, page_num=None):
         'Selection changed in file tree'
         # page_num may be supplied, if called from switch-page event
-        model, paths = selection.get_selected_rows()
-        if not paths:
+        model, tpaths = selection.get_selected_rows()
+        if not tpaths:
             return
-        row = paths[0]
+        row = tpaths[0]
 
         # desensitize the text diff and hunk selection tabs
         # if a non-MAR file is selected