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

Add port conn params#127

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
demonolock wants to merge11 commits intomaster
base:master
Choose a base branch
Loading
fromadd-port-conn-params
Open
Show file tree
Hide file tree
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Add StrictHostKeyChecking=no for ssh connect
  • Loading branch information
vshepard committedJun 6, 2024
commitda223402fa95402ce89fcf9bce8ac5df899c7951
1 change: 1 addition & 0 deletionstestgres/operations/remote_ops.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -16,6 +16,7 @@
raise ImportError("You must have psycopg2 or pg8000 modules installed")

from ..exceptions import ExecUtilException
from ..utils import reserve_port
from .os_ops import OsOperations, ConnectionParams, get_default_encoding

error_markers = [b'error', b'Permission denied', b'fatal', b'No such file or directory']
Expand Down
2 changes: 2 additions & 0 deletionstestgres/utils.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -74,6 +74,8 @@ def execute_utility(args, logfile=None, verbose=False):

# write new log entry if possible
if logfile:
if not tconf.os_ops.path_exists(logfile):
tconf.os_ops.touch(logfile)
try:
tconf.os_ops.write(filename=logfile, data=args, truncate=True)
if out:
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp