Author: Ronan Lamy <[email protected]>
Branch: translation-cleanup
Changeset: r57495:e475a6988395
Date: 2012-09-24 01:46 +0100
http://bitbucket.org/pypy/pypy/changeset/e475a6988395/

Log:    Don't derive FSException from OperationError

diff --git a/pypy/objspace/flow/flowcontext.py 
b/pypy/objspace/flow/flowcontext.py
--- a/pypy/objspace/flow/flowcontext.py
+++ b/pypy/objspace/flow/flowcontext.py
@@ -1,7 +1,6 @@
 import collections
 import sys
 from pypy.tool.error import source_lines
-from pypy.interpreter.error import OperationError
 from pypy.interpreter import pyframe
 from pypy.interpreter.nestedscope import Cell
 from pypy.interpreter.pycode import CO_OPTIMIZED, CO_NEWLOCALS
@@ -29,7 +28,7 @@
 class StopFlowing(Exception):
     pass
 
-class FSException(OperationError):
+class FSException(Exception):
     def __init__(self, w_type, w_value):
         assert w_type is not None
         self.w_type = w_type
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to