Skip to content
This repository
Browse code

Debug: Change loggers to use __name__ instead of __file__

  • Loading branch information...
commit 57e5188851cbd949a2ae2c84b0689fe882d1cfa8 1 parent 1674f6f
David Vierra codewarrior0 authored

Showing 3 changed files with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +1 1  items.py
  2. +1 1  materials.py
  3. +1 1  pocket.py
2  items.py
... ... @@ -1,5 +1,5 @@
1 1 from logging import getLogger
2   -logger = getLogger(__file__)
  2 +logger = getLogger(__name__)
3 3
4 4 items_txt = """
5 5 :version 34
2  materials.py
@@ -12,7 +12,7 @@
12 12
13 13 import yaml
14 14
15   -log = getLogger(__file__)
  15 +log = getLogger(__name__)
16 16
17 17
18 18 class Block(object):
2  pocket.py
@@ -9,7 +9,7 @@
9 9
10 10 # values are usually little-endian, unlike Minecraft PC
11 11
12   -logger = logging.getLogger(__file__)
  12 +logger = logging.getLogger(__name__)
13 13
14 14
15 15 class PocketChunksFile(object):

0 comments on commit 57e5188

Please sign in to comment.
Something went wrong with that request. Please try again.