Commits

Martin Geisler committed 48b6be8

status: remove unused assignments

Comments (0)

Files changed (1)

tortoisehg/hgtk/status.py

         if not result:
             return
 
-        buf = cStringIO.StringIO()
         files = []
         for row in self.filemodel:
             if not row[FM_CHECKED]:
             if paths:
                 p = [pathmap[f] for f in files]
                 args.append(p)
-            item = menu.append(label, func, icon, args=args, sensitive=sens)
+            menu.append(label, func, icon, args=args, sensitive=sens)
             return files
 
         def vdiff(menuitem, files):