cmds: refactor Stage classes to make them simpler
commit77b9efe59d4b067897691ab03f297cc3950df307
authorDavid Aguilar <davvid@gmail.com>
Sun, 9 Aug 2015 03:18:55 +0000 (8 20:18 -0700)
committerDavid Aguilar <davvid@gmail.com>
Sun, 9 Aug 2015 03:18:55 +0000 (8 20:18 -0700)
tree3f8477e62e4050e898cd3ab9d2ceda8208cc1060
parent2f10e6127ab369720c29077b09258e9dfd436894
cmds: refactor Stage classes to make them simpler

All of the sub-classes use self.model, and need special setup code for
their `paths` attribute, so factor it out into a separate init_paths()
method so that sub-classes don't have to override the constructor.

Signed-off-by: David Aguilar <davvid@gmail.com>
cola/cmds.py