add docstrings

This commit is contained in:
meejah 2016-02-01 11:02:25 -07:00 committed by Brian Warner
parent 8ba2912ff4
commit bf3bf70814

View File

@ -250,6 +250,9 @@ class QueuedItem(object):
class UploadItem(QueuedItem):
"""
Represents a single item the _deque of the Uploader
"""
pass
@ -634,6 +637,9 @@ class WriteFileMixin(object):
class DownloadItem(QueuedItem):
"""
Represents a single item in the _deque of the Downloader
"""
def __init__(self, relpath_u, progress, filenode, metadata):
super(DownloadItem, self).__init__(relpath_u, progress)
self.file_node = filenode