[pypy-commit] pypy translation-cleanup: Don't derive FSException from OperationError

rlamy noreply at buildbot.pypy.org
Mon Sep 24 02:47:15 CEST 2012


Author: Ronan Lamy <ronan.lamy at gmail.com>
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


More information about the pypy-commit mailing list