models.compare: Derive from ObservableModel
commit04de42d4f783d21c225adf793564ea2c42e910fb
authorDavid Aguilar <davvid@gmail.com>
Thu, 19 Nov 2009 22:11:36 +0000 (19 14:11 -0800)
committerDavid Aguilar <davvid@gmail.com>
Thu, 19 Nov 2009 22:28:46 +0000 (19 14:28 -0800)
tree515b0a4fd1145daa0102b698ec7326f0dee8eaa3
parent6ed329a70941421d1541b4b5b3c51a02b4335106
models.compare: Derive from ObservableModel

This modifies the CompareModel and BranchCompareModel classes
to not derive from the main model.  They now derive from
observable model instead.  The update_revision_lists() method
is now part of the CompareModel where it is more appropriate.

Signed-off-by: David Aguilar <davvid@gmail.com>
cola/controllers/compare.py
cola/models/compare.py
cola/models/main.py