[vistrails-dev] [VisTrails/VisTrails] 3d6cba: Fixed broken indexing in apply_diff

GitHub noreply at github.com
Thu Oct 29 10:09:40 EDT 2015


  Branch: refs/heads/matplotlib-package-update
  Home:   https://github.com/VisTrails/VisTrails
  Commit: 3d6cba234e7dc40bd546ebfba67ee21cd7b67388
      https://github.com/VisTrails/VisTrails/commit/3d6cba234e7dc40bd546ebfba67ee21cd7b67388
  Author: Tommy Ellqvist <tommy.ellqvist at nyu.edu>
  Date:   2015-10-29 (Thu, 29 Oct 2015)

  Changed paths:
    M vistrails/packages/matplotlib14/diff.py

  Log Message:
  -----------
  Fixed broken indexing in apply_diff

The wrong spec was deleted when deleting multiple specs in
increasing index order due to index not being updated.

Fixed by using "x.remove(obj)" in place of "del x[i]".

Conflicts:
	vistrails/packages/matplotlib14/diff.py




More information about the vistrails-dev mailing list