Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb4268f8

Browse files
authored
Revert "Fix port bind (#117)" (#128)
This reverts commit0cf30a7.
1 parentc1cfc26 commitb4268f8

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

‎setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
readme=f.read()
2828

2929
setup(
30-
version='1.10.1',
30+
version='1.10.0',
3131
name='testgres',
3232
packages=['testgres','testgres.operations','testgres.helpers'],
3333
description='Testing utility for PostgreSQL and its extensions',

‎testgres/operations/remote_ops.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
importtempfile
55
importplatform
66

7-
from ..utilsimportreserve_port
8-
97
# we support both pg8000 and psycopg2
108
try:
119
importpsycopg2aspglib
@@ -394,7 +392,7 @@ def db_connect(self, dbname, user, password=None, host="localhost", port=5432):
394392
"""
395393
Established SSH tunnel and Connects to a PostgreSQL
396394
"""
397-
self.establish_ssh_tunnel(local_port=reserve_port(),remote_port=5432)
395+
self.establish_ssh_tunnel(local_port=port,remote_port=5432)
398396
try:
399397
conn=pglib.connect(
400398
host=host,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp