Skip to content

Commit

Permalink
use __name__ for logging (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp authored Apr 2, 2024
1 parent e1896fe commit 5668ac7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/conda_package_handling/tarball.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from . import streaming, utils
from .interface import AbstractBaseFormat

LOG = logging.getLogger(__file__)
LOG = logging.getLogger(__name__)


def _sort_file_order(prefix, files):
Expand Down
2 changes: 1 addition & 1 deletion src/conda_package_handling/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from tempfile import NamedTemporaryFile, mkdtemp

on_win = sys.platform == "win32"
log = logging.getLogger(__file__)
log = logging.getLogger(__name__)
CONDA_TEMP_EXTENSION = ".c~"


Expand Down

0 comments on commit 5668ac7

Please sign in to comment.