[pypy-commit] pypy default: Fix

arigo noreply at buildbot.pypy.org
Tue Sep 10 14:29:56 CEST 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r66892:e23a1f3e941f
Date: 2013-09-10 14:26 +0200
http://bitbucket.org/pypy/pypy/changeset/e23a1f3e941f/

Log:	Fix

diff --git a/rpython/rlib/rsre/rsre_re.py b/rpython/rlib/rsre/rsre_re.py
--- a/rpython/rlib/rsre/rsre_re.py
+++ b/rpython/rlib/rsre/rsre_re.py
@@ -286,8 +286,8 @@
 class Scanner:
     # This class is copied directly from re.py.
     def __init__(self, lexicon, flags=0):
-        from sre_constants import BRANCH, SUBPATTERN
-        import sre_parse
+        from rpython.rlib.rsre.rpy.sre_constants import BRANCH, SUBPATTERN
+        from rpython.rlib.rsre.rpy import sre_parse
         self.lexicon = lexicon
         # combine phrases into a compound pattern
         p = []


More information about the pypy-commit mailing list