Skip to content

Commit e263df4

Browse files
committed
rename utils.py to log.py
1 parent e48c090 commit e263df4

File tree

8 files changed

+7
-7
lines changed

8 files changed

+7
-7
lines changed

src/qbpm/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
from pathlib import Path
22
from typing import Optional
33

4+
from .log import error
45
from .paths import qutebrowser_exe
5-
from .utils import error
66

77
try:
88
from qbpm.version import version as __version__ # type: ignore

src/qbpm/choose.py

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

44
from . import Profile
55
from .launch import launch_qutebrowser
6+
from .log import error
67
from .menus import find_menu
7-
from .utils import error
88

99

1010
def choose_profile(

src/qbpm/launch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
import subprocess
33

44
from . import Profile
5+
from .log import error
56
from .paths import qutebrowser_exe
6-
from .utils import error
77

88

99
def launch_qutebrowser(
File renamed without changes.

src/qbpm/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
from . import Profile, operations, profiles
1111
from .choose import choose_profile
1212
from .launch import launch_qutebrowser
13+
from .log import error, or_phrase
1314
from .menus import supported_menus
1415
from .paths import default_profile_dir, qutebrowser_data_dir
15-
from .utils import error, or_phrase
1616

1717
CONTEXT_SETTINGS = {"help_option_names": ["-h", "--help"]}
1818

src/qbpm/menus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from pathlib import Path
77
from shutil import which
88

9-
from .utils import error, or_phrase
9+
from .log import error, or_phrase
1010

1111

1212
@dataclass

src/qbpm/operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
from . import Profile, profiles
55
from .desktop import create_desktop_file
6-
from .utils import error
6+
from .log import error
77

88

99
def from_session(

src/qbpm/profiles.py

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

55
from . import Profile
66
from .desktop import create_desktop_file
7+
from .log import error, or_phrase
78
from .paths import qutebrowser_config_dirs
8-
from .utils import error, or_phrase
99

1010
MIME_TYPES = [
1111
"text/html",

0 commit comments

Comments
 (0)