mirror of https://github.com/watcha-fr/synapse
The psycopg2 package isn't available for PyPy. This commit adds a check if the runtime is PyPy, and if it is uses psycopg2cffi module in favor of psycopg2. This is almost a drop-in replacement, except for one place where an additional cast to string is required.pull/14/head
parent
9fbe70a7dc
commit
89de934981
Loading…
Reference in new issue