mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-10 19:16:34 +03:00
Fixed compatibility problem in setup for Python 2.4
This commit is contained in:
parent
ef18915396
commit
9a7aee3d05
2
setup.py
2
setup.py
|
@ -80,7 +80,7 @@ version_flags = ['dt', 'dec']
|
||||||
PLATFORM_IS_WINDOWS = sys.platform.lower().startswith('win')
|
PLATFORM_IS_WINDOWS = sys.platform.lower().startswith('win')
|
||||||
|
|
||||||
|
|
||||||
class PostgresConfig():
|
class PostgresConfig:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.pg_config_exe = self.autodetect_pg_config_path()
|
self.pg_config_exe = self.autodetect_pg_config_path()
|
||||||
if self.pg_config_exe is None:
|
if self.pg_config_exe is None:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user