Fix relative imports

This commit is contained in:
alesapin 2021-11-09 14:14:30 +03:00
parent 6af1a2ee6a
commit 5674a7df3a
2 changed files with 4 additions and 4 deletions

View File

@ -5,9 +5,9 @@ try:
from clickhouse.utils.github.query import Query as RemoteRepo
from clickhouse.utils.github.local import Repository as LocalRepo
except:
from cherrypick import CherryPick
from query import Query as RemoteRepo
from local import Repository as LocalRepo
from .cherrypick import CherryPick
from .query import Query as RemoteRepo
from .local import Repository as LocalRepo
import argparse
import logging

View File

@ -17,7 +17,7 @@ Third run creates PR from backport branch (with merged previous PR) to release b
try:
from clickhouse.utils.github.query import Query as RemoteRepo
except:
from query import Query as RemoteRepo
from .query import Query as RemoteRepo
import argparse
from enum import Enum