[py-svn] r7042 - py/dist/py/path
hpk at codespeak.net
hpk at codespeak.net
Tue Oct 19 20:36:39 CEST 2004
Author: hpk
Date: Tue Oct 19 20:36:39 2004
New Revision: 7042
Modified:
py/dist/py/path/error.py
Log:
bug fix
Modified: py/dist/py/path/error.py
==============================================================================
--- py/dist/py/path/error.py (original)
+++ py/dist/py/path/error.py Tue Oct 19 20:36:39 2004
@@ -1,7 +1,9 @@
"""
-module with some shared utils
+Error module
"""
+import py
+
class Error(Exception):
def __init__(self, *args):
self.args = args
@@ -67,7 +69,7 @@
return cache[baseclass, newclass]
except KeyError:
import new
- Mixed = new.classobj(
+ Mixed = py.std.new.classobj(
newclass.__name__,
(newclass, baseclass),
{})
More information about the pytest-commit
mailing list