File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # -*- coding: utf8 -*-
2+
3+ """
4+
5+ Copyright 2014-2016 Andreas Würl
6+
7+ Licensed under the Apache License, Version 2.0 (the "License");
8+ you may not use this file except in compliance with the License.
9+ You may obtain a copy of the License at
10+
11+ http://www.apache.org/licenses/LICENSE-2.0
12+
13+ Unless required by applicable law or agreed to in writing, software
14+ distributed under the License is distributed on an "AS IS" BASIS,
15+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+ See the License for the specific language governing permissions and
17+ limitations under the License.
18+
19+ """
20+
21+ """
22+ Database compatibility layer for psycopg2cffi.
23+
24+ This module registers psycopg2cffi as a drop-in replacement for psycopg2,
25+ which is useful for PyPy compatibility. The registration happens automatically
26+ when this module is imported.
27+ """
28+
29+ try :
30+ from psycopg2cffi import compat
31+ compat .register ()
32+ except ImportError :
33+ pass
You can’t perform that action at this time.
0 commit comments