Mercurial > hg > PaInt
diff paint/main.py @ 3:583f678eb0c9
stubbing
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 21 Feb 2012 21:11:44 -0800 |
parents | 4be44827e436 |
children | 8beffeb750b3 |
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