Permalink
Browse files

Debug: Change loggers to use __name__ instead of __file__

  • Loading branch information...
1 parent 1674f6f commit 57e5188851cbd949a2ae2c84b0689fe882d1cfa8 @codewarrior0 codewarrior0 committed Feb 11, 2013
Showing with 3 additions and 3 deletions.
  1. +1 −1 items.py
  2. +1 −1 materials.py
  3. +1 −1 pocket.py
View
@@ -1,5 +1,5 @@
from logging import getLogger
-logger = getLogger(__file__)
+logger = getLogger(__name__)
items_txt = """
:version 34
View
@@ -12,7 +12,7 @@
import yaml
-log = getLogger(__file__)
+log = getLogger(__name__)
class Block(object):
View
@@ -9,7 +9,7 @@
# values are usually little-endian, unlike Minecraft PC
-logger = logging.getLogger(__file__)
+logger = logging.getLogger(__name__)
class PocketChunksFile(object):

0 comments on commit 57e5188

Please sign in to comment.