Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
10 changes: 5 additions & 5 deletions pum/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@

import psycopg

from pum.checker import Checker
from pum.config import PumConfig
from .checker import Checker
from .config import PumConfig

# from pum.dumper import Dumper
from pum.info import run_info
from pum.upgrader import Upgrader
# from .dumper import Dumper
from .info import run_info
from .upgrader import Upgrader


def setup_logging(verbosity: int = 0):
Expand Down
2 changes: 1 addition & 1 deletion pum/dumper.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import sys
from distutils.version import LooseVersion

from pum.core.exceptions import (
from .core.exceptions import (
PgDumpCommandError,
PgDumpFailed,
PgRestoreCommandError,
Expand Down
4 changes: 2 additions & 2 deletions pum/info.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import logging
import sys

from pum.config import PumConfig
from pum.schema_migrations import SchemaMigrations
from .config import PumConfig
from .schema_migrations import SchemaMigrations

logger = logging.getLogger(__name__)

Expand Down
4 changes: 2 additions & 2 deletions pum/schema_migrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
from packaging.version import Version
from psycopg import Connection, sql

from pum.config import PumConfig
from pum.utils.execute_sql import execute_sql
from .config import PumConfig
from .utils.execute_sql import execute_sql

logger = logging.getLogger(__name__)

Expand Down
8 changes: 4 additions & 4 deletions pum/upgrader.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
from packaging.version import parse as parse_version
from psycopg import Connection

from pum.config import PumConfig
from pum.exceptions import PumException
from pum.schema_migrations import SchemaMigrations
from pum.utils.execute_sql import execute_sql
from .config import PumConfig
from .exceptions import PumException
from .schema_migrations import SchemaMigrations
from .utils.execute_sql import execute_sql

logger = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion pum/utils/execute_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from psycopg import Connection, Cursor
from psycopg.errors import SyntaxError

from pum.exceptions import PumSqlException
from .exceptions import PumSqlException
import re

logger = logging.getLogger(__name__)
Expand Down
Loading