Mercurial > hg > config
diff python/unroll_deps.py @ 155:f7cfd58eafe6
raise the correct exception
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 13 Jul 2011 09:17:05 -0700 |
parents | b86b070fbdd1 |
children | da62e6411ab7 |
line wrap: on
line diff
--- a/python/unroll_deps.py Tue Jul 12 21:52:05 2011 -0700 +++ b/python/unroll_deps.py Wed Jul 13 09:17:05 2011 -0700 @@ -72,12 +72,12 @@ deps['packageD'] = set(['packageX']) try: unroll_dependencies(deps) - raise AssertionError("Missed a cyclic dependency!") + raise Exception("Missed a cyclic dependency!") except AssertionError: pass try: unroll_dependencies2(deps) - raise AssertionError("Missed a cyclic dependency!") + raise Exception("Missed a cyclic dependency!") except AssertionError: pass