[pypy-commit] pypy default: Fail slightly bettter than a SyntaxError

fijal noreply at buildbot.pypy.org
Sat Dec 10 15:26:02 CET 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r50344:22d20cc8666b
Date: 2011-12-10 16:25 +0200
http://bitbucket.org/pypy/pypy/changeset/22d20cc8666b/

Log:	Fail slightly bettter than a SyntaxError

diff --git a/lib_pypy/distributed/socklayer.py b/lib_pypy/distributed/socklayer.py
--- a/lib_pypy/distributed/socklayer.py
+++ b/lib_pypy/distributed/socklayer.py
@@ -2,7 +2,7 @@
 import py
 from socket import socket
 
-XXX needs import adaptation as 'green' is removed from py lib for years 
+raise ImportError("XXX needs import adaptation as 'green' is removed from py lib for years")
 from py.impl.green.msgstruct import decodemessage, message
 from socket import socket, AF_INET, SOCK_STREAM
 import marshal


More information about the pypy-commit mailing list