[pypy-svn] r36177 - pypy/dist/pypy/interpreter
xoraxax at codespeak.net
xoraxax at codespeak.net
Sat Jan 6 16:13:56 CET 2007
Author: xoraxax
Date: Sat Jan 6 16:13:55 2007
New Revision: 36177
Modified:
pypy/dist/pypy/interpreter/baseobjspace.py
Log:
Oops, cleaned a few tabs.
Modified: pypy/dist/pypy/interpreter/baseobjspace.py
==============================================================================
--- pypy/dist/pypy/interpreter/baseobjspace.py (original)
+++ pypy/dist/pypy/interpreter/baseobjspace.py Sat Jan 6 16:13:55 2007
@@ -550,10 +550,10 @@
def exception_match(self, w_exc_type, w_check_class):
"""Checks if the given exception type matches 'w_check_class'."""
- if self.is_w(w_exc_type, w_check_class):
- return True
- if self.is_true(self.abstract_issubclass(w_exc_type, w_check_class)):
- return True
+ if self.is_w(w_exc_type, w_check_class):
+ return True
+ if self.is_true(self.abstract_issubclass(w_exc_type, w_check_class)):
+ return True
if self.is_true(self.isinstance(w_check_class, self.w_tuple)):
exclst_w = self.unpacktuple(w_check_class)
More information about the Pypy-commit
mailing list