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

Commit3cc19d2

Browse files
raise_error.py is moved into testgres/operations from testgres/helpers
Let's store our things on one place.We use RaiseError only in testgres/operations structures currently.
1 parent6a0e714 commit3cc19d2

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

‎testgres/operations/local_ops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
from ..exceptionsimportExecUtilException
1313
from .os_opsimportConnectionParams,OsOperations,pglib,get_default_encoding
14+
from .raise_errorimportRaiseError
1415
from .helpersimportHelpers
15-
from ..helpers.raise_errorimportRaiseError
1616

1717
try:
1818
fromshutilimportwhichasfind_executable
File renamed without changes.

‎testgres/operations/remote_ops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
raiseImportError("You must have psycopg2 or pg8000 modules installed")
1515

1616
from ..exceptionsimportExecUtilException
17-
from ..helpers.raise_errorimportRaiseError
1817
from .os_opsimportOsOperations,ConnectionParams,get_default_encoding
18+
from .raise_errorimportRaiseError
1919
from .helpersimportHelpers
2020

2121
error_markers= [b'error',b'Permission denied',b'fatal',b'No such file or directory']

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp