mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-17 19:54:48 -05:00
89de934981
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. |
||
---|---|---|
.. | ||
__init__.py | ||
_base.py | ||
postgres.py | ||
sqlite3.py |