Skip to content

Commit 5fc26c3

Browse files
author
James William Pye
committed
Seems to be broken in 3.3, so refer to project.version.
1 parent 9699c86 commit 5fc26c3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

postgresql/bin/pg_python.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import contextlib
1313
from .. import clientparameters
1414
from ..python import command as pycmd
15-
from .. import __version__
15+
from .. import project
1616

1717
from ..driver import default as pg_driver
1818
from .. import exceptions as pg_exc
@@ -34,7 +34,7 @@
3434
def command(argv = sys.argv):
3535
p = clientparameters.DefaultParser(
3636
"%prog [connection options] [script] ...",
37-
version = __version__,
37+
version = project.version,
3838
option_list = default_options
3939
)
4040
p.disable_interspersed_args()

0 commit comments

Comments
 (0)