Skip to content

Commit

Permalink
renamed _recurse_to_list
Browse files Browse the repository at this point in the history
Now accurately reflects the actual nature of the function.
  • Loading branch information
ariccio committed Feb 10, 2014
1 parent b898ac3 commit b8b1a93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions termsaverlib/screen/base/filereader.py
Expand Up @@ -267,7 +267,7 @@ def _recurse_to_exec(self, path, func, filetype=''):
#
return
@staticmethod
def _recurse_to_list(self, queueOfValidFiles, path, filetype=''):
def recursivelyPopulateQueue(self, queueOfValidFiles, path, filetype=''):
"""
Populates an (empty) queue of all files within directory in "path", with the paths to said files
Expand Down Expand Up @@ -345,5 +345,5 @@ def __init__(self, fileReaderInstance, queueOfValidFiles, pathToScan):
self.__fileReaderInstance = fileReaderInstance
def run(self):
"""thread begins executing this function on call to aThreadObject.start()"""
#file_queue = FileReaderBase._recurse_to_list(self.__fileReaderInstance, self.__queueOfValidFiles, self.__pathToScan)
FileReaderBase._recurse_to_list(self.__fileReaderInstance, self.__queueOfValidFiles, self.__pathToScan)
#file_queue = FileReaderBase.recursivelyPopulateQueue(self.__fileReaderInstance, self.__queueOfValidFiles, self.__pathToScan)
FileReaderBase.recursivelyPopulateQueue(self.__fileReaderInstance, self.__queueOfValidFiles, self.__pathToScan)

0 comments on commit b8b1a93

Please sign in to comment.