Mercurial > hg > PaInt
changeset 3:583f678eb0c9
stubbing
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 21 Feb 2012 21:11:44 -0800 |
parents | 4be44827e436 |
children | e230ac76aaa4 |
files | paint/main.py |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/paint/main.py Tue Feb 21 21:07:09 2012 -0800 +++ b/paint/main.py Tue Feb 21 21:11:44 2012 -0800 @@ -12,6 +12,14 @@ def __init__(self): pass + def dependencies(self, *packages): + if len(packages) > 1: + retval = set() + for package in packages: + retval += self.dependencies(package) + else: + raise NotImplementedError + def cleanup(self): pass __del__ = cleanup