Skip to content
This repository was archived by the owner on Sep 30, 2019. It is now read-only.

Commit 9d66b78

Browse files
committed
Remove unnecessary logger.
1 parent e3b38fa commit 9d66b78

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Adafruit_GPIO/I2C.py

-4
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@
2727
import Adafruit_GPIO.Platform as Platform
2828

2929

30-
logger = logging.getLogger(__name__)
31-
32-
3330
def reverseByteOrder(data):
3431
"""Reverses the byte order of an int (16-bit) or long (32-bit) value."""
3532
# Courtesy Vishal Sapre
@@ -64,7 +61,6 @@ class Device(object):
6461
"""Class for communicating with an I2C device using the smbus library.
6562
Allows reading and writing 8-bit, 16-bit, and byte array values to registers
6663
on the device."""
67-
logger = logging.getLogger(__name__)
6864
def __init__(self, address, busnum):
6965
"""Create an instance of the I2C device at the specified address on the
7066
specified I2C bus number."""

0 commit comments

Comments
 (0)