changeset 155:f7cfd58eafe6

raise the correct exception
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 13 Jul 2011 09:17:05 -0700
parents b86b070fbdd1
children a9c3a32d8385
files python/unroll_deps.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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