Skip to content

Commit 3cc19d2

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 parent 6a0e714 commit 3cc19d2

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 ..exceptions import ExecUtilException
1313
from .os_ops import ConnectionParams, OsOperations, pglib, get_default_encoding
14+
from .raise_error import RaiseError
1415
from .helpers import Helpers
15-
from ..helpers.raise_error import RaiseError
1616

1717
try:
1818
from shutil import which as find_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
raise ImportError("You must have psycopg2 or pg8000 modules installed")
1515

1616
from ..exceptions import ExecUtilException
17-
from ..helpers.raise_error import RaiseError
1817
from .os_ops import OsOperations, ConnectionParams, get_default_encoding
18+
from .raise_error import RaiseError
1919
from .helpers import Helpers
2020

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy