/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to diff.py

  • Committer: John Arbash Meinel
  • Date: 2008-10-07 20:59:01 UTC
  • mto: This revision was merged to the branch mainline in revision 613.
  • Revision ID: john@arbash-meinel.com-20081007205901-ifjebw6gzul1awyn
just use changed_content as a truth value, rather than checking 'is True'

Show diffs side-by-side

added added

removed removed

Lines of Context:
689
689
                    change_type = kind_changed
690
690
                    display_path = (paths[0] + source_marker
691
691
                                    + ' => ' + paths[1] + marker)
692
 
                elif changed_content is True or executables[0] != executables[1]:
 
692
                elif changed_content or executables[0] != executables[1]:
693
693
                    change_type = modified
694
694
                else:
695
695
                    assert False, "How did we get here?"