1. Daniele Varrazzo
  2. psycogreen


Daniele Varrazzo  committed 5533bc0

Show Psycopg version if not compatible.

  • Participants
  • Parent commits 905f8c2
  • Branches master

Comments (0)

Files changed (1)

File eventlet/psyco_eventlet.py

View file
     """Configure Psycopg to be used with eventlet in non-blocking way."""
     if not hasattr(extensions, 'set_wait_callback'):
         raise ImportError(
-            "Support for coroutines is available only from Psycopg 2.2.0")
+            "support for coroutines not available in this Psycopg version (%s)"
+            % psycopg2.__version__)