summaryrefslogtreecommitdiff
path: root/tftpy/TftpClient.py
diff options
context:
space:
mode:
authorMichael P. Soulier <msoulier@digitaltorque.ca>2018-05-15 11:58:51 -0400
committerMichael P. Soulier <msoulier@digitaltorque.ca>2018-05-15 11:58:51 -0400
commited6b6f1f66c99f04ba15a3eaa59b23f7cbf4fe3d (patch)
treed39e807a116641e301188ec05ebfed4e6ea59fbb /tftpy/TftpClient.py
parent57f9b0dc9da435f63fcb9ed3b9b050dc6717fa3e (diff)
downloadtftpy-ed6b6f1f66c99f04ba15a3eaa59b23f7cbf4fe3d.tar.gz
Rationalized module includes and logging.
Diffstat (limited to 'tftpy/TftpClient.py')
-rw-r--r--tftpy/TftpClient.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tftpy/TftpClient.py b/tftpy/TftpClient.py
index 2763dda..cc9cb5c 100644
--- a/tftpy/TftpClient.py
+++ b/tftpy/TftpClient.py
@@ -4,10 +4,13 @@ performed via a standard logging object set in TftpShared."""
from __future__ import absolute_import, division, print_function, unicode_literals
import types
+import logging
from .TftpShared import *
from .TftpPacketTypes import *
from .TftpContexts import TftpContextClientDownload, TftpContextClientUpload
+log = logging.getLogger('tftpy.TftpClient')
+
class TftpClient(TftpSession):
"""This class is an implementation of a tftp client. Once instantiated, a
download can be initiated via the download() method, or an upload via the