Mercurial > hg > PaInt
comparison 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 |
comparison
equal
deleted
inserted
replaced
2:4be44827e436 | 3:583f678eb0c9 |
---|---|
9 import tempfile | 9 import tempfile |
10 | 10 |
11 class InspectPackages(object): | 11 class InspectPackages(object): |
12 def __init__(self): | 12 def __init__(self): |
13 pass | 13 pass |
14 | |
15 def dependencies(self, *packages): | |
16 if len(packages) > 1: | |
17 retval = set() | |
18 for package in packages: | |
19 retval += self.dependencies(package) | |
20 else: | |
21 raise NotImplementedError | |
14 | 22 |
15 def cleanup(self): | 23 def cleanup(self): |
16 pass | 24 pass |
17 __del__ = cleanup | 25 __del__ = cleanup |
18 | 26 |